1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
Am I correct in understanding that you were originally able to connect via SSH, etc.?
Possible reasons for not being able to connect to EC2 are incorrect security group or subnet network ACL settings.
Can you confirm that SSH is allowed in the security group and network ACL settings?
It is also possible that the load on EC2 is preventing SSH, etc., so restarting EC2 or scaling up the instance type may also be effective.
https://repost.aws/knowledge-center/ec2-linux-ssh-troubleshooting
Relevant content
- Accepted Answerasked 10 days ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
All configurations are ok everywhere. But I can't connect with ssh or console.
Have you tried restarting EC2? It is also possible that the SSH process has stopped for some reason.