Skip to content

Instantly share code, notes, and snippets.

@gaotongfei
Created December 28, 2015 17:14
Show Gist options
  • Save gaotongfei/ac22638270ca2f6f28fe to your computer and use it in GitHub Desktop.
Save gaotongfei/ac22638270ca2f6f28fe to your computer and use it in GitHub Desktop.
ssh via socks5 proxy
ssh -o ProxyCommand='nc -x 127.0.0.1:1080 %h %p' username@ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment