git client using GSSAPI for NTLM proxy authentication

后端 未结 1 1836
执念已碎
执念已碎 2020-12-15 13:38

Like many, Im trying to access github.com from behind a corporate proxy.

Apparently* curl (via libcurl) now includes GSSAPI support for NTLM proxy authentication wit

相关标签:
1条回答
  • 2020-12-15 14:26

    In the end I had to RTFS, the answer in summary:

    As at msysgit version 1.9.5 (earlier versions are untested), git

    1. uses the proxy configuration for [http] section for both http and https
    2. does NOT have an explicit way to set authentication type (such as ntlm)
    3. does NOT have a separate way to set username and password other than embedded in the proxy url
    4. using an empty username and password works, so it will use default NTLM credentials if you do the following

      git config --global http.proxy https://:@proxyhost:proxyport/

    Note that the : and @ that delimit the username and password are present, but the fields are empty. And it seems to accept using https to connect to proxy.

    0 讨论(0)
提交回复
热议问题