permission denied(publickey)

Asked by am

sudo bzr branch lp:swift trunk
permission denied(publickkey)
bzr:error:connection closed:unexpected end of message.Please check connectivity and permissions,and report a bug if problems persist

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
am
Solved:
Last query:
Last reply:

This question was originally filed as bug #670766.

Revision history for this message
Andrew Bennetts (spiv) said :
#1

This is almost certainly a support issue, not a bug, so converting this into a question.

Revision history for this message
Andrew Bennetts (spiv) said :
#2

It's odd to use sudo to fetch a bzr branch. If you really wish to use "sudo" you'll need to make sure root has an SSH keypair and that the public key of that pair is added to your Launchpad account.

What does "sudo ssh -v -l am19861030 bazaar.launchpad.net" output?

Does ~root/.ssh/id_rsa.pub exist, and do its contents match >https://launchpad.net/~am19861030/+sshkeys>?

Revision history for this message
am (am19861030) said :
#3

Thank you for your reply,the problem is solved

Revision history for this message
sujit pandey (suj2pay) said :
#4

no, it doesn't match but key length is same. I got tha same problem as above stated please give me the steps. please.