ssh -o “ProxyCommand nc -X 5 -x 192.168.4.20:1080 %h %p” root@172.19.6.131
git config http.proxy http://192.168.4.20:8080 http代理
git config http.proxy socks5://192.168.4.20:1080 http代理
curl -x ‘http://192.168.4.20:8080’ http://www.baidu.com
手机上开启http或者socket代理协议
设置代理
git config http.proxy ‘socks5://192.168.4.20:1080’
git config –global https.proxy ‘socks5://127.0.0.1:1080’
取消代理
git config –global –unset http.proxy
git config –global –unset https.proxy