Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use an existing ssh keypair with juju? When running juju bootstrap I'm getting this error: error: environment has no access-key or secret-key.

I've already setup an ssh keypair a long time ago to use with git. So when I run ssh-keygen -t rsa -b 2048 i'm being asked if I want to overwrite it. I'm using Ubuntu 13.04.

share|improve this question
up vote 3 down vote accepted

The error you're getting is not about an SSH Key pair but for the cloud providers Access Key and Secret key. If you're using Amazon you'll need to enter your Amazon AWS access and secret key in to your ~/.juju/environments.yaml file. Check the juju website for more information, and in particular the Juju EC2 Provider Getting Started guide if you are indeed using AWS/EC2

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.