With above usage on GIT_PROXY_COMMAND, I still have
problem on connection with remote git repository.
I also tried setting http_proxy directly but the same
result. It's first usage of git in our network. Well,
need I enable the git port 9418 at proxy server? Or
did I miss sth or what?
I use git-2006-05-14.tar.gz package on FC3.
Method I : Use GIT_PROXY_COMMAND
[root@sam u-boot]# git clone \
git://www.denx.de/git/u-boot.git u-boot-denx.git
fatal: exec failed
fetch-pack from 'git://www.denx.de/git/u-boot.git'
failed.
[root@sam u-boot]# git clone \
http://parisc-linux.org/git/linux-2.6.git/ parisc-2.6
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
[root@sam u-boot]#
/usr/local/bin/proxy-cmd.sh
#! /bin/bash
(echo "CONNECT $1:$2 HTTP/1.0";echo;cat) | socket
<um> <pwd> 192.168.40.99 80 | (read a;read a;cat)
Method II : Use http_proxy directly
[root@sam u-boot]# export \
http_proxy="http://<username>:<pwd>@192.168.40.99:80"
[root@sam u-boot]# git clone \
http://parisc-linux.org/git/linux-2.6.git/ parisc-2.6
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
[root@sam u-boot]# git clone \
git://www.denx.de/git/u-boot.git u-boot-denx.git
fatal: unable to connect a socket (Connection timed
out)
fetch-pack from 'git://www.denx.de/git/u-boot.git'
failed.
[root@sam u-boot]#
Thanks in advance,
Sam
P.S. I forward this thread from LKML for better
discussion. Hope Petr wouldn't mind.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Fwd: [OT] Re: Git via a proxy server?, Sam Song, (Tue May 16, 5:13 am)