[Development] Git clone hangs on Linux using SSH

Denis Shienkov denis.shienkov at gmail.com
Sun Mar 15 20:16:58 CET 2015


Hi all, again.

Now I reinstalled the ArchLinux and replaced it with Fedora 21 (KDE). But
the problem remained - I can't use SSH access to codereview.

For example, the attempt to upload a hook hangs forever:

"
[denis at denis serial]$ scp -v -p codereview.qt-project.org:hooks/commit-msg
.git/hooks
Executing: program /usr/bin/ssh host codereview.qt-project.org, user
(unspecified), command scp -v -p -f hooks/commit-msg
OpenSSH_6.6.1, OpenSSL 1.0.1k-fips 8 Jan 2015
debug1: Reading configuration data /home/denis/.ssh/config
debug1: /home/denis/.ssh/config line 1: Applying options for
codereview.qt-project.org
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: Connecting to codereview.qt-project.org [54.229.21.112] port 29418.
debug1: Connection established.
debug1: identity file /home/denis/.ssh/id_rsa type 1
debug1: identity file /home/denis/.ssh/id_rsa-cert type -1
debug1: identity file /home/denis/.ssh/id_dsa type -1
debug1: identity file /home/denis/.ssh/id_dsa-cert type -1
debug1: identity file /home/denis/.ssh/id_ecdsa type -1
debug1: identity file /home/denis/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/denis/.ssh/id_ed25519 type -1
debug1: identity file /home/denis/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1
debug1: Remote protocol version 2.0, remote software version
GerritCodeReview_2.7-115-g2938ccd (SSHD-CORE-0.9.0.201311081)
debug1: no match: GerritCodeReview_2.7-115-g2938ccd
(SSHD-CORE-0.9.0.201311081)
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: kex: diffie-hellman-group14-sha1 need=16 dh_need=16
debug1: kex: diffie-hellman-group14-sha1 need=16 dh_need=16
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
^C[denis at denis serial]$
"

I have no more ideas why this happens, because I trying to disable the
Firewall, trying to modify the "./ssh/config" file...

Can anybody help me? Maybe I need to provide a some extended logs (but what
is logs then?)?

BR,
Denis



2015-02-25 23:24 GMT+03:00 Denis Shienkov <denis.shienkov at gmail.com>:

> Hi all.
>
> Currently I can not clone any of repo using the "git clone" command,
> this attempt hangs forever on my ArchLinux:
>
> "
>  [denis at pclab serial]$ git clone ssh://
> codereview.qt-project.org:29418/qt/qtserialport.git
>
> Cloning into 'qtserialport'...
>
> ^C
>
> [denis at pclab serial]$ git clone ssh://
> codereview.qt-project.org:29418/qt/qtconnectivity.git
>
> Cloning into 'qtconnectivity'...
>
> ^C
>
> [denis at pclab serial]$ git clone ssh://
> codereview.qt-project.org/qt/qtconnectivity.git
>
> Cloning into 'qtconnectivity'...
>
> ^C
>
> [denis at pclab serial]$ git clone ssh://<user>@
> codereview.qt-project.org:29418/qt/qtconnectivity.git
>
> Cloning into 'qtconnectivity'...
>
> ^C
>
> [denis at pclab serial]$
> "
>
> Of cource, I trying this with the .ssh/config file and without it.
>
> I don't know what happens.. I didn't use Linux long ago, but today I
> wanted to execute an usual routine to cloning a repo in Linux, but it is
> unsuccessful (though, earlier, a month ago,  everything worked).
>
> I tried to disable the iptables service, but a result is same...
>
>
> I use:
>
> * ArchLinux with the latest updates
> * git version 2.3.0
>
> Also, I trying to do this to verbose the SSH connection:
>
> "
> [denis at pclab serial]$ ssh -vT -p 29418 <user>@codereview.qt-project.org
> OpenSSH_6.7p1, OpenSSL 1.0.2 22 Jan 2015
> debug1: Reading configuration data /home/denis/.ssh/config
> debug1: /home/denis/.ssh/config line 1: Applying options for
> codereview.qt-project.org
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Connecting to codereview.qt-project.org [54.229.21.112] port
> 29418.
> debug1: Connection established.
> debug1: identity file /home/denis/.ssh/id_rsa type 1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_rsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_dsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_dsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_ecdsa type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_ecdsa-cert type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_ed25519 type -1
> debug1: key_load_public: No such file or directory
> debug1: identity file /home/denis/.ssh/id_ed25519-cert type -1
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.7
> debug1: Remote protocol version 2.0, remote software version
> GerritCodeReview_2.7-115-g2938ccd (SSHD-CORE-0.9.0.201311081)
> debug1: no match: GerritCodeReview_2.7-115-g2938ccd
> (SSHD-CORE-0.9.0.201311081)
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-cbc hmac-sha1 none
> debug1: kex: client->server aes128-cbc hmac-sha1 none
> debug1: sending SSH2_MSG_KEXDH_INIT
> debug1: expecting SSH2_MSG_KEXDH_REPLY
> "
>
>
> Can anyone help me ? What happens? :)
>
> PS: In Windows the "git clone" works correctly.
>
> BR,
> Denis
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150315/40fd8501/attachment.html>


More information about the Development mailing list