Skip to content

Instantly share code, notes, and snippets.

@lucasdavila
Created October 22, 2013 10:59
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 lucasdavila/7098640 to your computer and use it in GitHub Desktop.
Save lucasdavila/7098640 to your computer and use it in GitHub Desktop.
reverse port tunneling
echo "to reverse ssh, partner can run: ssh -nNT -R 2201:localhost:22 lucasdavila@remote-server -p 2200"
ssh -nNT -R 2200:localhost:22 lucasdavila@remote-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment