Permission denied (publickey)
Following:
https:/
Extras:
I have a launchpad account with SSHKey, OpenPGP Key, Signed Ubuntu CoC
Running:
./rocketfuel-setup
Getting (copy paste of final part of terminal output)
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Done
Logging bzr into Launchpad (it's okay if this errors)...
Making local branch of Launchpad trunk, this may take a while...
Permission denied (publickey).
bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
ERROR: Unable to create local copy of Rocketfuel trunk
I have tried multiple times. Exactly same message each time.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2010-10-11
- Last reply:
- 2011-01-19
This question was originally filed as bug #656616.
| Curtis Hovey (sinzui) said : | #1 |
Have you set your launchpad id as the lp-login for bzr? What do you get if you do `bzr lp-login`?
I believe I have. It says david-aspirix which is what I have as user id on launchpad
I have ubuntu lucid desktop installed in vmware fusion
| Curtis Hovey (sinzui) said : | #4 |
This is an ssh + image configuration issue for bzr, not a bug. I think believe someone from the launchpad-code team has experience dealing with non-public ssh keys.
hm do you mean there could be something wrong with my ssh key?
I have followed the getting started guides on launchpad as well as the guides on launchpad on how to create pgp and ssh keys etc.
| Martin Pool (mbp) said : | #6 |
Hi David,
Please run this command in your vm and paste the output:
ssh -v bazaar.
thanks
| Andrew Bennetts (spiv) said : | #7 |
Please run this command in your vm and paste the output:
ssh -l david-aspirix -v bazaar.
It's definitely an ssh issue: the "Permission denied (publickey)." in your error output is the problem.
Martin, Andrew,
Result from the command:
user@ubuntu1004
OpenSSH_5.3p1 Debian-3ubuntu4, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to bazaar.
debug1: Connection established.
debug1: identity file /home/user/
debug1: identity file /home/user/
debug1: identity file /home/user/
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-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_
debug1: Host 'bazaar.
debug1: Found key in /home/user/
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: Trying private key: /home/user/
debug1: Trying private key: /home/user/
debug1: Trying private key: /home/user/
debug1: No more authentication methods to try.
Permission denied (publickey).
| Martin Pool (mbp) said : | #9 |
David, this seems to indicate that the SSH public key you've put on Launchpad doesn't actually match the keys in your account. Perhaps you added the key from a different machine. Please add /home/user/
I had the same problem. my .ssh directory was owned by root. I changed the owner and group to my user name and it worked
Can you help with this problem?
Provide an answer of your own, or ask David Rinnan, Aspirix AB for more information if necessary.
