Ubuntu – Using Juju returns “ssh invalid key” error

jujussh

Can someone tell me with piece of code is executed when i do: juju status.

I'm running Juju on OpenStack and I want to deploy some services but when i do juju status it returns me an SSH INVALID KEY 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. 

Best Answer

You have to generate a keypair on machine from which you're running juju bootstrap.

I just generated the keyspair

ssh-keygen -t dsa

Again did,

juju -v bootstrap

You should also integrate your ssh key with Launchpad so that you can pull charms from the charm store: