helpSavannah Administration - Support: sr #108149, Cannot connect to savannah vis...

 
 

sr #108149: Cannot connect to savannah vis SSH(Permission denied (publickey).)

Submitted by:  Robby Lee <aeternam>
Submitted on:  Tue 02 Oct 2012 06:03:11 PM UTC  
 
Category: Source code repositories - developer accessPriority: 5 - Normal
Severity: 3 - NormalStatus: None
Assigned to: Michael J. Flickinger <mjflick>Operating System: GNU/Linux
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 07 Oct 2012 10:16:07 PM UTC, comment #1:

Hi,

Apparently your ssh client is only trying "/home/robby/.ssh/id_rsa" as an RSA1 public key. I'm guessing it's RSA2.

I'm also expecting:

debug1: identity file "/home/robby/.ssh/id_rsa" type 2

I'd recommend making sure that your ssh version is somewhat up to date and also reviewing the contents of your home ssh config file (~/.ssh/config).

Michael J. Flickinger <mjflick>
Site AdministratorIn charge of this item.
Tue 02 Oct 2012 06:03:11 PM UTC, original submission:

Hi,
I'm using OpenSUSE and I added my public key to the "Authorized keys" on the web.

But I can't connect to savannah and the result is :

>bzr branch bzr+ssh://aeternam@bzr.savannah.gnu.org/emacs/trunk trunk

Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.

Then I do:

>ssh -vvv -o PreferredAuthentications=publickey -unavailable-


OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to cvs.savannah.gnu.org [140.186.70.72] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/robby/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/robby/.ssh/id_rsa type 1
debug1: identity file /home/robby/.ssh/id_rsa-cert type -1
debug1: identity file /home/robby/.ssh/id_dsa type -1
debug1: identity file /home/robby/.ssh/id_dsa-cert type -1
debug1: identity file /home/robby/.ssh/id_ecdsa type -1
debug1: identity file /home/robby/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9
debug1: match: OpenSSH_5.9 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit: -unavailable-
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: RSA 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5
The authenticity of host 'cvs.savannah.gnu.org (140.186.70.72)' can't be established.
RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'cvs.savannah.gnu.org,140.186.70.72' (RSA) to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/robby/.ssh/id_rsa (0x7fc809ada4c0)
debug2: key: /home/robby/.ssh/id_dsa ((nil))
debug2: key: /home/robby/.ssh/id_ecdsa ((nil))
debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
debug3: preferred publickey
debug3: authmethod_lookup publickey
debug3: remaining preferred:
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/robby/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/robby/.ssh/id_dsa
debug3: no such identity: /home/robby/.ssh/id_dsa
debug1: Trying private key: /home/robby/.ssh/id_ecdsa
debug3: no such identity: /home/robby/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey).

================================================
I don't know why,Plz help me!Tks!

Robby Lee <aeternam>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mjflick (Posted a comment)
  • -unavailable- added by aeternam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Aug 2013 08:53:33 PM UTCjohnschmidt4Open/ClosedOpen=>Closed
    Sun 07 Oct 2012 10:21:18 PM UTCmjflickAssigned toNone=>mjflick

    Back to the top


    Powered by Savane 3.1-cleanup