Unable to login into EC2 instance

0

Hi, We have an EC2 instance named work node 5 (darshan) bearing instance ID as i-0cef541d41d9c832a , instance type as c7g.2xlarge and the user is unable to login into this machine. Error is "access denied". Even after rebooting the system, we are unable to login. Can you please help?

This is the error which we are getting

Error while using session manager

已提问 10 个月前363 查看次数
2 回答
0

Hi, your screenshot shows that you're using Instance Connect . It has some prereqs that you must satisfy for it to work: see for all details https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting

The most frequent issue is incorrect security group not allowing inbound ssh via the Instance Connect terminal. So, you sec group must have an inbound rule allowing tcp port 22.

Additional details here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html

Hope it helps, Didier

profile pictureAWS
专家
已回答 10 个月前
profile picture
专家
已审核 10 个月前
  • HI Didier thank you for your reply. we were using this machine with SSM till 1 hour back, suddenly this type error started which is attached in screenshot. we try to check using instance connect but that also not helped.

    But our interest is to resolve SSM issue. Thanks

  • Many instances are unable to connect and few have issues like "No space left on the disk" and other machines don't have any specific errors? Can you please help to give some pointers on how to investigate. We tried to increase the volume size to fix "No space left of the disk" error, but it didn't help.

0

Does it work with EC2 instance connect?

profile picture
已回答 10 个月前
  • No, we are unable to connect from EC2 instance connect as well, as shown in the above screenshot attached with the case

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则