Used bzr successfully in past, but now can't (Permission denied (publickey))

Asked by Paul Harrison

I've successfully checked out and committed code to launchpad using bzr. However when I tried this morning it no longer worked.

This is after resetting my DSL modem, so I may have a different IP address, if that is relevant.

I've created a new rsa key, deleted all my old keys and added the new public key in launchpad. Still does not work. Prodded ssh-add. Still does not work.

"ssh -v <email address hidden>" also fails, see below.

Help! What am I doing wrong?

$ ssh <email address hidden>
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to bazaar.launchpad.net [91.189.90.11] port 22.
debug1: Connection established.
debug1: identity file /home/pfh/.ssh/identity type -1
debug1: identity file /home/pfh/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/pfh/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version Twisted
debug1: no match: Twisted
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-6ubuntu2
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: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'bazaar.launchpad.net' is known and matches the RSA host key.
debug1: Found key in /home/pfh/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/pfh/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /home/pfh/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/pfh/.ssh/identity
debug1: Trying private key: /home/pfh/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Paul Harrison
Solved:
Last query:
Last reply:
Revision history for this message
Michael Nelson (michael.nelson) said :
#1

Hi Paul,

Did you follow all the steps at:
https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair

the debug trace seems to indicate that Launchpad doesn't know your public key (ie. you should have seen "Server accepts key:....")

Revision history for this message
Paul Harrison (paul-francis-harrison) said :
#2

Yes, I did read that page and I'm pretty sure I followed all those steps. But I've just done them all again, and now it works.

Oh well, problem solved, thanks for the reply.