[ubuntu-cloud] Issue re: SSH keys on EC2

Johnson, Chris M (Dublin) Chris.Johnson at Fiserv.com
Mon Aug 29 16:14:58 UTC 2011

I'm experiencing a strange result in using an Ubuntu AMI on EC2 that doesn't occur when using an Amazon Linux AMI.  Your thoughts would be appreciated!

When I create a new instance of ebs/ubuntu-images/ubuntu-natty-11.04-amd64-server-20110426 (ami-1aad5273), I pick an existing keypair.  When the new instance starts up and I attempt to connect (using Putty), I get an error saying "Server refused our key".  When I read the server log, I can see new RSA and DSA keys are being generated.  It appears the instance isn't using my existing key pair.

However if I spin up a new instance of the Amazon Linux AMI and follow the exact same procedure, I am able to connect using the existing key pair.

Is there a difference between how SSH credentials are managed for Ubuntu and Amazon AMI's?  Or maybe I'm doing something wrong.

-- Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-cloud/attachments/20110829/a57fcf2e/attachment.html>

More information about the Ubuntu-cloud mailing list