Skip to content
Snippets Groups Projects
public
Authored by avatar Sung Feng Jie @k1dave6412 :cat2:

Serveo Script

Serveo script for auto connect, custom port

Embed
Share
  • Clone with SSH
  • Clone with HTTPS
  • startServeo.sh 167 B
    echo "start serveo at localhost:$1"
    if [[ $2 == "auto" ]];
    then
        exec autossh -M 0 -R 80:localhost:$1 serveo.net
    else
        exec ssh -R 80:localhost:$1 serveo.net
    fi
    0% or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment