Permission denied (publickey). when i am trying to run this command `bzr branch lp:openobject-addons/7.0`

Asked by Lakshmi

i followed this link (https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair) for creating public keys. i completed the process successfully.

i got one problem when i am trying to import the ssh key in this url : 'https://launchpad.net/~badelakshmi/+editsshkeys'. i have entered my private key from .pub file. i got the error invalid private key. i had overcome that problem by adding two spaces to my private key. other than that everything is followed from that link.

But when i am trying to pull the addons(by using command `bzr branch lp:openobject-addons/7.0`) from bazaar i am getting the below error.

"Permission denied (publickey).
ConnectionReset reading response for 'BzrDir.open_2.1', retrying
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist. "

Please help to resolve this issue.

Thanks,
Lakshmi.

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Steve Kowalik (stevenk) said :
#1

It isn't a private key if it's from a .pub file, it's a public key. The error still states that Launchpad does not know about your ssh key, though. As a next step, I would compare https://launchpad.net/~/+sshkeys with "cat ~/.ssh/id_rsa.pub" and see if they match exactly.

Can you help with this problem?

Provide an answer of your own, or ask Lakshmi for more information if necessary.

To post a message you must log in.