Day 22: Configuring Secure SSH Access to an EC2 Instance ( 100days AWS cloud
I am facing an issue with the task that requires configuring SSH access for the EC2 instance named nautilus‑ec2. Even though I can successfully SSH into the instance as both ec2-user and root, the grader consistently reports:
“SSH access is not configured correctly for instance nautilus‑ec2.”
To avoid any ambiguity, here is what I have already verified:
- The instance name is exactly nautilus‑ec2.
- The instance is running and reachable.
- The security group allows SSH only from my aws-client IP (35.188.139.128/32).
** The correct public key from/root/.ssh/nautilus-ec2.pubis present in/root/.ssh/authorized_keyson the EC2 instance. - Permissions on
/root/.sshandauthorized_keysare correct. - I can SSH directly as root using the key without any password.
Despite all this, the grader still fails with the same message.
Could you please check if the grader is pointing to an old instance, cached state, or a different security group? I would appreciate your help in resolving this so I can proceed.
Thank you.