add-socks5-proxy-to-sshconfig

This is an old revision of the document!


Add socks5 proxy to .ssh/config

$ cat .ssh/config
Host    ssh-proxy
    Hostname ssh-proxy.domain.net
    DynamicForward 9999
 
Host    ssh-host-with-proxy
    Hostname host.domain.com
    ProxyCommand nc -x localhost:9999 %h %p
 
$ ssh ssh-proxy
[ ... ]
<new terminal>
$ ssh ssh-host-with-proxy
[ ... ]
add-socks5-proxy-to-sshconfig.1503335841.txt.gz · Last modified: 2017/08/21 19:17 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki