Skip to content

Instantly share code, notes, and snippets.

@scemama
Created March 22, 2015 20:17
Show Gist options
  • 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
[email protected] $ 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