Skip to content

Instantly share code, notes, and snippets.

@gabehollombe
Created November 8, 2013 02:10
Show Gist options
  • Save gabehollombe/7365170 to your computer and use it in GitHub Desktop.
Save gabehollombe/7365170 to your computer and use it in GitHub Desktop.
SSH Tricks
TUNNELING
Expose server port 456 on local port 123
$ ssh -L 123:localhost:456 user@yourserver.com
Transparent SOCKS proxy on localhost:12345
$ ssh -D 12345 user@yourserver.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment