"Permission denied (publickey)" error when ssh'ing to Amazon EC2 Debian AMI 05f3ef71
Posted
by
user193537
on Super User
See other posts from Super User
or by user193537
Published on 2013-10-11T19:57:32Z
Indexed on
2013/10/23
10:02 UTC
Read the original article
Hit count: 187
I have launched a Debian system using AMI 05f3ef71 in Amazon EC2, but I have no lock connecting to it using SSH as suggested in "Connecting to Your Linux/UNIX Instances Using SSH". I tried several user names: ec2-user, root, debian... None of them worked. I always get a Permission denied (publickey)
error message.
Using ec2-get-console-output instance_id
as suggested doesn't work either, it requires option "-K". If I supply it, I get the error message Required option '-C, --cert CERT' missing
, but I have no idea what to supply there.
Port 22 is opened on the affected instance.
Does anyone have an idea what I could try to log in to my instance?
© Super User or respective owner