Created
April 18, 2014 02:34
-
-
Save ekiara/11021941 to your computer and use it in GitHub Desktop.
HOW TO DO A REVERSE SSH TUNNEL CONNECTION
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HOW TO DO A REVERSE SSH TUNNEL CONNECTION | |
# how_to_do_a_reverse_ssh_tunnel_connection.txt | |
$ ssh -i ./cloud.key -p [CLOUD_SERVER_SSH_PORT] -R [TUNNEL_PORT]:localhost:[LOCAL_SSH_PORT] user@[CLOUD_SERVER] | |
$ /usr/bin/ssh -i ./cloud.key -p 22 -R 6543:localhost:22 user@hostname.cloud.vps.provider.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment