Unable to SSH to EC2

Posted by Walker on Server Fault See other posts from Server Fault or by Walker
Published on 2011-01-11T22:57:02Z Indexed on 2011/01/11 23:54 UTC
Read the original article Hit count: 542

Filed under:
|

I downloaded the cert-xxx.pem and pk-xxx.pem files and also the keypair.pem and moved it all to the /.ssh folder on my Ubuntu client machine.

this is what I get when I try to SSH with -v at the end

debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Trying private key: /root/.ssh/identity debug1: Trying private key: /root/.ssh/id_rsa debug1: Trying private key: /root/.ssh/id_dsa debug1: No more authentication methods to try. Permission denied (publickey).

I am new to administering servers and I want to know if I should be trying to convert the pem files to id_rsa and id_dsa. I am not really sure if that is possible but I don't know how else to get the id_rsa, id_dsa from those pem files or if there is any work around. I managed to get access to EC2 the first time and this is my second try and I am unsuccessful so far.

Any help is appreciated. regards Walker

© Server Fault or respective owner

Related posts about ubuntu

Related posts about amazon-ec2