unable to authenticate with public key
The PUSH command is not working because BZR doesn't seem to be able to do the SSH authentication.
I keep getting the "Permission denied (public key)" error :
emmanuel@
emmanuel@
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
emmanuel@
Also, simple SSH doesn't work :
emmanuel@
OpenSSH_5.1p1 Debian-5ubuntu1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to bazaar.
debug1: Connection established.
debug1: identity file /home/emmanuel/
debug1: identity file /home/emmanuel/
debug1: Checking blacklist file /usr/share/
debug1: Checking blacklist file /etc/ssh/
debug1: identity file /home/emmanuel/
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-
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_
debug1: Host 'bazaar.
debug1: Found key in /home/emmanuel/
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_
debug1: SSH2_MSG_
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/emmanuel/
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/emmanuel/
debug1: Trying private key: /home/emmanuel/
debug1: No more authentication methods to try.
Permission denied (publickey).
I re-generated the public keys a dozen of times, both RSA and DSA (and re-uploaded to launchpad), none seem to work.
I've set the persmissions on the .SSH files :
emmanuel@
total 12
-rw------- 1 emmanuel emmanuel 1671 2009-08-24 10:11 id_rsa
-rw-r--r-- 1 emmanuel emmanuel 406 2009-08-24 10:11 id_rsa.pub
-rw-r--r-- 1 emmanuel emmanuel 540 2009-08-24 10:12 known_hosts
How can I find out what is wrong?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu bzr Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Emmanuel Lambert
- Solved:
- Last query:
- Last reply: