Electricmonk

Ferry Boender

Programmer, DevOpper, Open Source enthusiast.

Blog

Getting started with Juju: “no public ssh keys found” error.

Friday, September 27th, 2013

I’m trying out Juju with the ‘local’ environment, and ran into the following error:

$ sudo juju bootstrap
error: error parsing environment "local": no public ssh keys found

The Getting Started Guide mentions nothing of this error, and I couldn’t find a solution on the web. After a bit of reading, it seems Juju requires a passwordless SSH key be available in your ~/.ssh dir. So to get rid of this error, just generate a new key with no password:

$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/fboender/.ssh/id_rsa):
Enter passphrase (empty for no passphrase): <EMPTY>
Enter same passphrase again: <EMPTY>

Now you bootstrap Juju:

$ sudo juju bootstrap -e local
$

The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.