AWS Level -3 1st Question review

After finishing the 1st question of the evaluation got failed to the error below

But I have successfully been able to passwordless SSH to the public EC2 instance, as you can in the screenshot.

also as per the exam requirement, it got successfully connected>

I may be doing something wrong here. Please correct me.

okay guys kindly ignore… i placed the public key into the /ubuntu/.ssh/authorised keys insted of /root/.ssh/authorised key.

this was the question or part of whole
An EC2 instance named devops-ec2 exists. Connect to this instance from the AWS console. Create an SSH key (/root/.ssh/id_rsa) on the aws-client host if it doesn’t already exist. Add the public key to the authorized keys of the root user on the EC2 instance for password-less SSH access.

Nice catch, @mAtif . Mark your comment as the solution so it can help other community members.

Regards,

1 Like