- Setup Your Socks Proxy
ssh -D 127.0.0.1:1080 [email protected] -p 2002
- Add The Proxy to Your SSH Config
Add this to your ~/.ssh/config:
Host bitbucket.org IdentityFile ~/.ssh/gitkey ProxyCommand=nc -X 5 -x localhost:1080 %h %p
ssh -D 127.0.0.1:1080 [email protected] -p 2002
Add this to your ~/.ssh/config:
Host bitbucket.org IdentityFile ~/.ssh/gitkey ProxyCommand=nc -X 5 -x localhost:1080 %h %p