Last active
August 29, 2015 14:03
-
-
Save rchrd2/42cf7bc7dd3dcd11e36c to your computer and use it in GitHub Desktop.
Enable SSH Tunneling
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
# Enable ssh tunneling on remote server | |
GatewayPorts yes | |
ClientAliveInterval 30 | |
ClientAliveCountMax 99999 | |
# Example tunnel from local server | |
# $ ssh -R8081:127.0.0.1:8080 root@example.com | |
# $ curl example.com:8081 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment