Skip to content

Instantly share code, notes, and snippets.

@elvisds
Created July 9, 2012 09:59
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 elvisds/3075519 to your computer and use it in GitHub Desktop.
Save elvisds/3075519 to your computer and use it in GitHub Desktop.
SSH port forwarding on mac
ssh -L 80:host_name_com:8080 -p 22 -l my_user_name -N host_name_com
80 - local port
8080 - remote port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment