Find the answer to your Linux question:
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/ ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Location
    Bangalore
    Posts
    5

    Smile 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

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Location
    Bangalore
    Posts
    5

    Exclamation Anyone

    Please help..... i'm in big trouble...

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,743

    Lightbulb

    IMO, I think firewall is blocking git port. Ask your admin to open-up this port.
    then do
    telnet dev.omapzoom.org 9418
    should give something like
    Escape character is '^]'.

    source : Re: git clone against firewall | KernelTrap

    HTH
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  4. #4
    Just Joined!
    Join Date
    Jun 2010
    Location
    Bangalore
    Posts
    5

    Smile

    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

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,743
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  6. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,743
    Example - Using ssh protocol instead of git

    git clone ssh://lakshmipathi@dev.machine.com/home/lakshmipathi/repo/reg.git
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  7. #7
    Just 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.

  8. #8
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,743
    Quote Originally Posted by geethu View Post
    i hav tried
    git config --global http.proxy our-proxy-server:3128

    still not able to clone..
    Do you have socat binary as mentioned here.
    Using git protocol through HTTP – jpablobr.com

    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.
    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.
    what's the error message when you tried it using http:// ? post it.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  9. #9
    Just Joined!
    Join Date
    Jun 2010
    Location
    Bangalore
    Posts
    5

    Cool

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •