Skip to content

Instantly share code, notes, and snippets.

@git-ashish
Created September 27, 2014 18:46
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 git-ashish/85f6fc01f682afeaf5e2 to your computer and use it in GitHub Desktop.
Save git-ashish/85f6fc01f682afeaf5e2 to your computer and use it in GitHub Desktop.
Setup SSH Tunnel
# 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