Can connect to EC2 as ubuntu user but not as the user i created

Posted by Sid on Stack Overflow See other posts from Stack Overflow or by Sid
Published on 2010-06-14T08:35:21Z Indexed on 2010/06/14 8:42 UTC
Read the original article Hit count: 179

Filed under:
|

I created a new ebs backed EC2-instance and the necessary key-pair. Now I am able to connect to the instance as ubuntu user. Once i did that I created another user and added it to the sudoers list but I am unable to connect to the instance as the new user I created.

I get the following error. I am using the same key to connect with the new user i created. Can somebody help me. Am I missing something here?

Permission denied (publickey)"

© Stack Overflow or respective owner

Related posts about ssh

Related posts about amazon-ec2