Created
August 29, 2020 19:17
-
-
Save xen0bit/ab5a0f7375df900354db05c4228bf108 to your computer and use it in GitHub Desktop.
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
/usr/bin/autossh -M 0 -N \ | |
-o "ServerAliveInterval 15" -o "ServerAliveCountMax 3" -o "ConnectTimeout 10" -o "ExitOnForwardFailure yes" \ | |
-i /home/user/.ssh/id_rsa -p 22 user@VPS-IP-Address \ | |
-R 8080:localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment