savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110545] SSH key not recognized on Git commit


From: Mohammad Akhlaghi
Subject: [sr #110545] SSH key not recognized on Git commit
Date: Fri, 1 Oct 2021 08:19:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0

Follow-up Comment #2, sr #110545 (project administration):

Thank you very much for the prompt reply. 

While I was following the debugging steps on the SshAccess page
<https://savannah.gnu.org/maintenance/SshAccess/>, I noticed that my key gets
recognized by the CVS server, but not the SSH server. In other words, the
first command below prints the expected output in the SshAccess page, but the
second command, doesn't recognize my public key and asks for my
git.savannah.gnu.org password (the only difference between the two commands is
the 'cvs' and 'git' before '.savannah'):


$ ssh makhlaghi@cvs.savannah.gnu.org
You tried to execute: 
Sorry, you are not allowed to execute that command.
Connection to cvs.savannah.gnu.org closed.


$ ssh makhlaghi@git.savannah.gnu.org
makhlaghi@git.savannah.gnu.org's password:


So I tried running both commands with the '-v' option and noticed that they
are actually connecting two different operating systems with different
versions of OpenSSH, and different algorithms (and possibly other different
settings), see below for relevant parts I could see a difference:


$ ssh -v makhlaghi@cvs.savannah.gnu.org
...
debug1: compat_banner: match: OpenSSH_7.4p1 Debian-10+deb9u7 pat OpenSSH_7.4*
compat 0x04000006
...
debug1: kex: algorithm: curve25519-sha256
...
debug1: Offering public key: /path/to/my/key/id_rsa RSA
SHA256:XXXXXXXXXXXXXXXXXXXXXX agent
debug1: Server accepts key: /path/to/my/key/id_rsa RSA
SHA256:XXXXXXXXXXXXXXXXXXXXXX agent
...



$ ssh -v makhlaghi@git.savannah.gnu.org
...
debug1: compat_banner: match: OpenSSH_6.6.1p1 Trisquel_GNU/linux_7.0-1 pat
OpenSSH_6.6.1* compat 0x04000002
...
debug1: kex: algorithm: curve25519-sha256@libssh.org
...
debug1: Offering public key: /path/to/my/key/id_rsa RSA
SHA256:XXXXXXXXXXXXXXXXXXXXXX agent
debug1: send_pubkey_test: no mutual signature algorithm
...


So I think the problem lies in the Savannah Git server (because my network and
OS settings work perfectly fine with the CVS server). But please let me know
if any other output from the SSH command can be helpful in debugging this?

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?110545>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]