Why do I get "Permission denied (publickey)" when trying to SSH from local Ubuntu to a Amazon EC2 server?
- by Vorleak Chy
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?