ssh -oProxyCommand="nc -x 127.0.0.1:1080 %h %p" [email protected]
alias sshp="ssh -oProxyCommand=\"nc -x 127.0.0.1:1080 %h %p\""
# ~/.ssh/config
Host github.com
ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p
ssh -oProxyCommand="nc -x 127.0.0.1:1080 %h %p" [email protected]
alias sshp="ssh -oProxyCommand=\"nc -x 127.0.0.1:1080 %h %p\""
# ~/.ssh/config
Host github.com
ProxyCommand nc -X 5 -x 127.0.0.1:1080 %h %p