Skip to content

Instantly share code, notes, and snippets.

@maxp
Last active August 2, 2018 03:00
Show Gist options
  • Save maxp/bcbdfbb9e0b741284e5a1fa724ef702b to your computer and use it in GitHub Desktop.
Save maxp/bcbdfbb9e0b741284e5a1fa724ef702b to your computer and use it in GitHub Desktop.
How to route ssh over socks5 on ssh.
start-socks:
ssh -NCD 9999 -qf your.not-blocked.host
---
.ssh/config:
Host bitbucket.org
ProxyCommand=nc -X 5 -x localhost:9999 %h %p
---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment