GitHub Windows client behind proxy

后端 未结 9 1541
抹茶落季
抹茶落季 2020-12-02 04:40

I\'m trying to get the GitHub client for Windows working. I am on a corporate Win 7 x64 computer behind a corporate proxy and firewall. Following various other posts and exp

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 05:28

    Tried everything of above - and didn't succeed, only thing that helped me is CNTLM - http://cntlm.sourceforge.net/.

    Install it and run cntlm -H, than authenticate to corp proxy, edit cntlm.ini file with the output of cntlm, restart the windows service. Update .gitconfig with:

    [https] proxy = localhost:3128
    [http] proxy = localhost:3128
    

    Now cntlm will do all the authentication, and you'll be able to use GitHub(and Dropbox, btw) behind the corp proxy. At least until next password change :) (than do cntlm -H stuff again)

提交回复
热议问题