读书人

git透过代理使用ssh协议(备忘)

发布时间: 2012-09-19 13:43:54 作者: rapoo

git通过代理使用ssh协议(备忘)
之前通过文档很容易实现了git协议,详见:http://www.gromacs.org/Developer_Zone/Git/Git_Tutorial#Git_behind_a_proxy

鉴于ssh才是读/写的王道,折腾了半天,终于找到一条可行之路:
1.下载corkscrew
2.编辑~/.ssh/config

ProxyCommand /usr/bin/corkscrew yourproxy.com proxyport %h %p user:pass

Good Luck!

读书人网 >开源软件

热点推荐