Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.