git bash下登录ssh使用ProxyCommand的方法

作者在 2019-02-10 20:02:14 发布以下内容

linux下是 ProxyCommand nc -x 127.0.0.1:1080 %h %p,然而对windows下的git bash是不管用的。git bash必须得用connect,如下:

ProxyCommand connect -S 127.0.0.1:1080 %h %p


connect.exe没有的可以从这里下载:

Git | 阅读 6261 次
文章评论,共0条
游客请输入验证码
浏览2800002次
文章归档