"Permission denied (publickey)" error when ssh'ing to Amazon EC2 Debian AMI 05f3ef71

0

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?

Michael Kremser

Posted 2013-10-11T19:57:32.563

Reputation: 55

Answers

1

The username of the AMI "05f3ef71" is admin

Source: https://wiki.debian.org/Cloud/AmazonEC2Image/Wheezy

Robo47

Posted 2013-10-11T19:57:32.563

Reputation: 26