Last active
August 2, 2018 03:00
-
-
Save maxp/bcbdfbb9e0b741284e5a1fa724ef702b to your computer and use it in GitHub Desktop.
How to route ssh over socks5 on ssh.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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