Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm in a corporate network that access to the internet through a proxy. For instance i have connection to Internet through the browsers (Firefox, Chrome ...) The problem is that when i'm trying to connect from the terminal and set the export configuration for both (http and https) like this:

export http_proxy=http://user:password@ip:port

and i try to make a git clone like this:

git clone https://github.com/octocat/Spoon-Knife

i get:

Cloning into 'Spoon-Knife'... fatal: unable to access 'https://github.com/octocat/Spoon-Knife/': Received HTTP code 407 from proxy after CONNECT

Some stuffs to note

  • I try to access using other commands like curl curl www.google.com and still get Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. (12209)

  • Like i say my internet connection in the browser works perfectly well. So isn't a connection issue.

  • The only special character that my password has is a * and i escaped it properly using %2A

Any help appreciated here. Thanks in advance.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.