Skip to content

Instantly share code, notes, and snippets.

@ahhh
Last active August 29, 2015 14:17
Show Gist options
  • Save ahhh/ede5dd80c53a4ecc5cc5 to your computer and use it in GitHub Desktop.
Save ahhh/ede5dd80c53a4ecc5cc5 to your computer and use it in GitHub Desktop.
Reverse ssh shell
# reverse connect client
ssh -R 1337:localhost:22 me@server.com
# control server
ssh -p 1337 remoteuser@localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment