Last active
July 4, 2018 14:40
-
-
Save benyanke/5efc8000befef50fa8c4290302282723 to your computer and use it in GitHub Desktop.
SSH Reverse Tunnel Configuration
This file contains hidden or 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/env bash | |
# run me in cron every minute and on boot | |
ssh revtun@[host] -i [keypath] -R 8202:localhost:22 -N -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment