Created
September 27, 2014 18:46
-
-
Save git-ashish/85f6fc01f682afeaf5e2 to your computer and use it in GitHub Desktop.
Setup 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
# set up tunnel | |
ssh -L localhost:3316:localhost:3316 -i /path/to/private-key user@host | |
# Check if the tunnel is established | |
netstat -lnp | grep ssh | grep :3316 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment