Site Tools


ssh:config

ssh config

use sock proxy

ssh actually supports sock proxy, just need to update ProxyCommand property for the host, it utilises nc to forward ssh connection.

ssh_config
Host xxxx
    User xxxx
    Hostname xxxxx.com
    ProxyCommand=nc -X 5 -x localhost:1080 %h %p
ssh/config.txt · Last modified: 2020-11-10 by dcai