在NTLM proxy without password?的帮助下,我已经能够使带有msysgit的curl二进制文件与代理一起播放很好:
curl -U : --proxy-ntlm --proxy xxx.xxx.xx.xx:8080 https://github.com
这是成功的,并返回Github主页。
然而,我发现2010年2月07日的一篇文章指出(强调我的):
Unfortunately it appears that curl will always use Basic authentication with the proxy. If your proxy needs something else,perhaps NTLM for a Windows network,then you have a problem. Curl is used to handle all the http transport details and this does support the NTLM authentication method but I know of no method to pass the necessary options to curl. Git makes use of curl via its library binding so it is not enought just to replace the curl executable with a wrapper script.
我知道Git配置中的core.gitproxy选项,但这似乎只适用于git://协议。类似地,http.proxy选项设置代理的地址,但不提供适当的选项来卷曲。
我没有使用它,所以我不知道它的效果如何。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。