Digital Marketing

Use Socks Proxy for ssh

Use Proxy for SSH

Add the following to your SSH config file, say ~/.ssh/config:



ProxyCommand nc -x localhost:1080 %h %p

This is to make all SSH connections via the socks5 proxy at localhost:1080.



If you want to use a HTTP proxy at localhost:1080, do it like:



ProxyCommand nc -X connect -x localhost:1080 %h %p

Comments

Popular posts from this blog

Make online money from the Internet