ssh使用http代理登录工具

wget  http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz


tar xf corkscrew-2.0.tar.gz && cd corkscrew-2.0 && ./configure && make && make install


vim /etc/ssh/ssh_config


加入


Host *

ProxyCommand /usr/local/bin/corkscrew 192.168.209.128 3128 %h %p /tmp/authfile


格式:

Host [内网IP] 

ProxyCommand [corkscrew工具所在的路径] [HTTP代理的地址] [HTTP代理的端口] %h  %p [认证文件(可选)]


认证文件格式:username:password


你可能感兴趣的:(local,认证,password,corkscrew)