Skip to content

Instantly share code, notes, and snippets.

@scemama
Created March 22, 2015 20:17
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 scemama/fdec3bc4afa533668bcb to your computer and use it in GitHub Desktop.
Save scemama/fdec3bc4afa533668bcb to your computer and use it in GitHub Desktop.
SSH reverse tunnel
user@home $ ssh -R 10000:localhost:22 target.machine.org
user@target.machine.org $ ssh -p 10000 localhost # ssh to the home machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment