Windows下SSH使用代理
这2天GFW又升级了,梯子服务器IP又又又被墙了
木得办法,只好把V2换回WS+TLS
由于IP被墙,所以说只能走别的代理上去
在Linux下面给SSH启用代理为:
$ ssh -o ProxyCommand="nc -X 5 -x localhost:1080 %h %p" user@server.net
而在Windows中可以使用git的SSH
打开git-bash.exe
,使用connect
对SSH通道进行代理
$ ssh -o ProxyCommand="connect -5 -S localhost:1080 %h %p" user@server.net
然后就能上去了