- download ncat from https://nmap.org/download.html
- in ~/.ssh/config add this
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_ecdsa_github
ProxyCommand ncat --proxy-type socks5 --proxy 127.0.0.1:1090 %h %p
Host github.com
HostName github.com
IdentityFile ~/.ssh/id_ecdsa_github
ProxyCommand ncat --proxy-type socks5 --proxy 127.0.0.1:1090 %h %p
socat only support socks4 does not support socks5