找了好久终于找到了一个解决办法
对于我来说大概就是这样,编辑~/.ssh/config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_github
TCPKeepAlive yes
IdentitiesOnly yes
ProxyCommand C:/Git/mingw64/bin/connect.exe -S 127.0.0.1:10808 %h %p
找了好久终于找到了一个解决办法
对于我来说大概就是这样,编辑~/.ssh/config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa_github
TCPKeepAlive yes
IdentitiesOnly yes
ProxyCommand C:/Git/mingw64/bin/connect.exe -S 127.0.0.1:10808 %h %p
成功啦,谢谢!需要自建config文件,路径有空格加上双引号”,速度从几kb成了2Mb
能仅对指定host加代理吗?
额,这里应该就是只对 HostName 这个地址加代理吧