Created
November 25, 2011 22:11
-
-
Save oscarrenalias/1394536 to your computer and use it in GitHub Desktop.
Command to create an SSH tunnel
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
ssh -i key.pem -v -2 -C -D 4567 -N user@server | |
-2: force SSH v2 protocol | |
-C: enable compression | |
-D <port>: use given local port | |
-N: do not run any command in the remote server | |
-v: verbose mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment