Last active
May 3, 2020 07:49
-
-
Save nkpro2000sr/3ee13cd346c57f90c20cd8e33497d6a3 to your computer and use it in GitHub Desktop.
To run Serveo Server in local machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z "$1" ] | |
then | |
wget https://github.com/nkpro2000/For-nkpro2000sr/raw/master/repos/serveo-linux-amd64 | |
serveo=serveo-linux-amd64 | |
else | |
serveo="$1" | |
fi | |
sudo ./${serveo} -port 2222 -private_key_path /etc/ssh/ssh_host_rsa_key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment