ssh -o ProxyCommand=‘nc -x 127.0.0.1:1080 %h %p‘ username@server
配置ssh使用socks代理
原文:http://www.cnblogs.com/afxcn/p/7352892.html