1 Answer
- Newest
- Most votes
- Most comments
1
Hi, most issues with ssh come from either ip routing or improper sec groups.
I would recommend to start connecting with Instance Connect by following this guidance: https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting.
That should fix potential sec group issues
Then try ssh from your laptop: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
Relevant content
asked 3 years ago

Thank you for your response. I've checked both the IP routing and security group, but there were no problems. I have also reviewed the content mentioned in the link you shared. I tried to solve the issue by accessing the EC2 Serial Console, but I can't even set up the login password for the Serial Console as I can't connect to the Instance Console. Do you know of any other ways to log into the Serial Console?
Please feel free to let me know if you need any additional information.
Thank you.