Skip to content

Instantly share code, notes, and snippets.

@rchrd2
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rchrd2/42cf7bc7dd3dcd11e36c to your computer and use it in GitHub Desktop.
Save rchrd2/42cf7bc7dd3dcd11e36c to your computer and use it in GitHub Desktop.
Enable SSH Tunneling
# 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