为GIT添加代理


虽然说github没给屏蔽,但是速度也太慢了,电信环境20k一秒速度令人抓狂

环境:win10

路径:C:\Users\用户名\.ssh

新建config文件

Host github.com
ProxyCommand connect -S 127.0.0.1:8848 %h %p # -S为socks
HostName %h
Port 22
User git
IdentityFile  ~/.ssh/id_rsa 
IdentitiesOnly yes


发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注