Skip to content

Instantly share code, notes, and snippets.

@phylake
Created August 14, 2014 15: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 phylake/1d866a595c8cd0c01df3 to your computer and use it in GitHub Desktop.
Save phylake/1d866a595c8cd0c01df3 to your computer and use it in GitHub Desktop.
ssh port forwarding
# forward local port 8080 to remotehost.com:3001
ssh -L 8080:localhost:3001 -N user@remotehost.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment