Skip to content

Instantly share code, notes, and snippets.

@maveonair
Created April 24, 2013 13:49
Show Gist options
  • Save maveonair/5452259 to your computer and use it in GitHub Desktop.
Save maveonair/5452259 to your computer and use it in GitHub Desktop.
SSH tunnel from localhost to host1 and from host1 to host2:
ssh -L 9999:localhost:9999 host1 ssh -L 9999:localhost:1234 -N host2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment