Created
October 2, 2016 22:49
-
-
Save Zensey/8a59dfd11d6f8a1ef056110355eb7e36 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
su - autossh -s /bin/sh -c "/usr/bin/autossh -M 0 -N -f -R 5001:localhost:22 remote@1.1.1.1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment