Fetch via http and proxy which requires authentication

5 messages, 2 authors, 2016-06-15 · open the first message on its own page

Fetch via http and proxy which requires authentication

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:45:15

Hi all,
i'm looking for a way to use git behind a corporate proxy which
requires authentication.
i just need to be able to fetch/pull via http.
i'm using git on a win xp box.
Any hint?

thanks.

regards,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/

Re: Fetch via http and proxy which requires authentication

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:45:15

On Thu, Aug 28, 2008 at 8:00 AM, Paolo Ciarrocchi
[off-list ref] wrote:
Hi all,
i'm looking for a way to use git behind a corporate proxy which
requires authentication.
i just need to be able to fetch/pull via http.
i'm using git on a win xp box.
Any hint?
Yes, google for  http_proxy ;-)

export http_proxy=http://host:port
git clone http://username:password@giturl


Ciao,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/

Re: Fetch via http and proxy which requires authentication

From: Dilip M <hidden>
Date: 2016-06-15 22:45:34

On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi
[off-list ref] wrote:
quoted
Hi all,
i'm looking for a way to use git behind a corporate proxy which
requires authentication.
i just need to be able to fetch/pull via http.
i'm using git on a win xp box.
Any hint?
Yes, google for  http_proxy ;-)

export http_proxy=http://host:port
git clone http://username:password@giturl
I tried setting, export http_proxy=http://<user>:<password>@host:port

But git clone failed!

$git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git
clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/
fatal:
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs
download error - The requested file was not found

What may the problem?  How can debug....


PS: wget works ...



-- 
Dilip

Re: Fetch via http and proxy which requires authentication

From: Paolo Ciarrocchi <hidden>
Date: 2016-06-15 22:45:36

On Mon, Nov 3, 2008 at 3:02 PM, Dilip M [off-list ref] wrote:
On Thu, Aug 28, 2008 at 3:43 PM, Paolo Ciarrocchi
[off-list ref] wrote:
quoted
quoted
Hi all,
i'm looking for a way to use git behind a corporate proxy which
requires authentication.
i just need to be able to fetch/pull via http.
i'm using git on a win xp box.
Any hint?
Yes, google for  http_proxy ;-)

export http_proxy=http://host:port
git clone http://username:password@giturl
I tried setting, export http_proxy=http://<user>:<password>@host:port

But git clone failed!

$git clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git git
clone http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Initialized empty Git repository in /home/dilipm/bin/linux-2.6/.git/
fatal:
http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs
download error - The requested file was not found

What may the problem?  How can debug....
Works for me:
$ git version
git version 1.6.0.2.1172.ga5ed0

I set in the Environment Variables panel:

Variable          Value
http_proxy      http://ip_of_my_proxy

Regards,
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com/

Re: Fetch via http and proxy which requires authentication

From: Dilip M <hidden>
Date: 2016-06-15 22:45:36

On Tue, Nov 4, 2008 at 4:43 PM, [off-list ref] wrote:
Works for me: $ git version git version 1.6.0.2.1172.ga5ed0

I set in the Environment Variables panel:

Variable          Value http_proxy      http://ip_of_my_proxy
Okay it solved now. Problem was old version of GIT. libcurl library
problem.

Upgrade the OS ,which in turn upgraded the libs...

Working fine for me too..


-- 
Dilip
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help