Results 1 to 9 of 9
Hi,
I want to clone a linux bridge repository. i'm behind a proxy server. The command : git clone git://dev.omapzoom.org/pub/scm/tidspbridge/kernel-dspbridge.git
gives the following error
Initialized empty Git repository in /home/rajan/kernel-dspbridge/.git/
...
- 06-28-2010 #1Just Joined!
- Join Date
- Jun 2010
- Location
- Bangalore
- Posts
- 5
Git clone behind a proxy server
Hi,
I want to clone a linux bridge repository. i'm behind a proxy server. The command : git clone git://dev.omapzoom.org/pub/scm/tidspbridge/kernel-dspbridge.git
gives the following error
Initialized empty Git repository in /home/rajan/kernel-dspbridge/.git/
dev.omapzoom.org[0: 209.20.88.187]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
I've done
1 - sudo apt-get install socket
2 - in my home directory, a shell script called "proxy-cmd.sh" was created
containing
#! /bin/bash
(echo "CONNECT $1:$2 HTTP/1.0"; echo; cat ) | socket git://MYPROXY 3128 (read a; read a; cat )
3 - chmod +x proxy-cmd.sh
4 - export GIT_PROXY_COMMAND=<PATH TO MY SCRIPT>/proxy-cmd.sh
Still not getting
Please help ASAP
- 06-29-2010 #2Just Joined!
- Join Date
- Jun 2010
- Location
- Bangalore
- Posts
- 5
Anyone
Please help..... i'm in big trouble...

- 06-29-2010 #3
IMO, I think firewall is blocking git port. Ask your admin to open-up this port.
then do
should give something liketelnet dev.omapzoom.org 9418
Escape character is '^]'.
source : Re: git clone against firewall | KernelTrap
HTH- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-29-2010 #4Just Joined!
- Join Date
- Jun 2010
- Location
- Bangalore
- Posts
- 5
Thank you
i get the following error message on giving the command telnet dev.omapzoom.org 9418
Trying 209.20.88.187...
telnet: Unable to connect to remote host: Connection timed out
is there any alternative for git clone??
geethu
- 06-29-2010 #5
googled out these links - give it a try : Git error: fatal: unable to connect a socket (Invalid argument) - Stack Overflow
Using git protocol through HTTP – jpablobr.com
GIT clone over HTTP: who knew? Rip's Domain
You can also use ssh protocol instead of git://
HTH- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-29-2010 #6
Example - Using ssh protocol instead of git
git clone ssh://lakshmipathi@dev.machine.com/home/lakshmipathi/repo/reg.git- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-29-2010 #7Just Joined!
- Join Date
- Jun 2010
- Location
- Bangalore
- Posts
- 5
i hav tried
git config --global http.proxy our-proxy-server:3128
still not able to clone..
i got the following the message with SSH,
The authenticity of host 'dev.omapzoom.org (209.20.88.187)' can't be established.
RSA key fingerprint is dc:3c:d9:7c:ae:ed:34:9f:64:58:36:54:8b:85:e1:6a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'dev.omapzoom.org,209.20.88.187' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Also, i found that the site supports only git and http.
- 06-29-2010 #8
Do you have socat binary as mentioned here.
Using git protocol through HTTP – jpablobr.com
Again -if possible, ask for ssh account . I ran into few issues with git:// but with ssh:// they worked fine. I haven't tested git with http:// , so running out of ideas/thoughts.i got the following the message with SSH,
The authenticity of host 'dev.omapzoom.org (209.20.88.187)' can't be established.
RSA key fingerprint is dc:3c:d9:7c:ae:ed:34:9f:64:58:36:54:8b:85:e1:6a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'dev.omapzoom.org,209.20.88.187' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Also, i found that the site supports only git and http.
what's the error message when you tried it using http:// ? post it.- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-29-2010 #9Just Joined!
- Join Date
- Jun 2010
- Location
- Bangalore
- Posts
- 5
i tried the procedures mentioned in the link to clone through http.
Initialized empty Git repository in /home/rajan/kernel-dspbridge/.git/
After this nothing occurs.


Reply With Quote
