Skip to content

Instantly share code, notes, and snippets.

@jimcadden
Last active August 29, 2015 14:22
Show Gist options
  • Save jimcadden/ad89bf65bee756e455c9 to your computer and use it in GitHub Desktop.
Save jimcadden/ad89bf65bee756e455c9 to your computer and use it in GitHub Desktop.
SOCKS ssh proxy forwarder
#commandline
ssh -o ProxyCommand='nc -x localhost:5000 %h %p ' {destination}
#~/.ssh/config
ProxyCommand ssh {destination} -W %h:%p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment