Why do I get "Permission denied (publickey)" when trying to SSH from local Ubuntu to a Amazon EC2 server?

Posted by Vorleak Chy on Server Fault See other posts from Server Fault or by Vorleak Chy
Published on 2009-07-13T07:38:23Z Indexed on 2012/11/18 5:02 UTC
Read the original article Hit count: 471

Filed under:
|
|

I have an instance of an application running in the cloud on Amazon EC2 instance, and I need to connect it from my local Ubuntu. It works fine on one of local ubuntu and also laptop. I got message "Permission denied (publickey)" when trying to access SSH to EC2 on another local Ubuntu. It's so strange to me.

I'm thinking some sort of problems with security settings on the Amazon EC2 which has limited IPs access to one instance or certificate may need to regenerate.

Does anyone know a solution?

© Server Fault or respective owner

Related posts about linux

Related posts about ssh