配置ssh 的github代理

Host github.com
User git
Port 443
Hostname ssh.github.com
IdentityFile ~/.ssh/id_rsa
ProxyCommand  /usr/local/bin/corkscrew proxy.YourHost.com 80 %h %p
IdentitiesOnly yes
TCPKeepAlive yes

git的github代理无需配置

你可能感兴趣的:(配置ssh 的github代理)