SSH authorized/public key not found?

Kapil Thangavelu kapil.thangavelu at canonical.com
Tue Dec 6 21:52:16 UTC 2011


Excerpts from Thomas Oatess's message of Tue Dec 06 08:19:53 -0500 2011:
> root at dogwood:~# juju bootstrap
> 2011-12-06 07:10:27,038 INFO Bootstrapping environment 'sample' (type: 
> ec2)...
> SSH authorized/public key not found.
> 2011-12-06 07:10:28,302 ERROR SSH authorized/public key not found.
> 
> My environment ...
> 
> AWS_ACCESS_KEY_ID=
> AWS_SECRET_ACCESS_KEY=
> EC2_CERT=/root/.amazon/cert.pem
> EC2_KEYPAIR=thomaseo
> EC2_PRIVATE_KEY=/root/.amazon/pk.pem
> EC2_URL=https://ec2.us-east-1.amazonaws.com
> JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
> 
> Any help would be most appreciated.
> 
> Thanks much,
> 
> Thomas
> 


Hi Thomas, juju doesn't use ec2 key pairs, it needs an actual ssh key, which you 
can get via ssh-keygen. By default it will look for some standard public ssh 
keys in ~/.ssh.  You can explicitly specify one either via the authorized-keys 
or authorized-keys-path in ~/.juju/environments.yaml

https://juju.ubuntu.com/docs/provider-configuration-ec2.html



More information about the Juju mailing list