- Newest
- Most votes
- Most comments
Hello.
Is SSH allowed in EC2's security group inbound rules?
Also, make sure that the route to the Internet gateway is set in the route table of the subnet where EC2 is running.
I think you can troubleshoot by following the steps in the document below, so please try it.
https://repost.aws/knowledge-center/ec2-ssh-errors-automation-workflow
https://repost.aws/knowledge-center/ec2-linux-ssh-troubleshooting
Hi, Thank you for the advice. However, since it is not impossible to connect at all, I cannot judge whether this solution is appropriate. As for the situation, sometimes I can connect successfully. Even if you can connect, there are times when the response is very slow. Other times I can't connect at all. Is the solution you gave us effective in this kind of case? Thanks and Regards,
Hi, Thanks for your reply. As a result, the process used by crontab was increasing the CPU load, leading to network disconnections. This never happened before, but it has improved since then. Thanks and Regards,
Relevant content
- asked 2 years ago
- asked 3 months ago
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
The troubleshooting method I shared is effective when you can't connect at all. So if there are cases where you can connect, it may not have much effect. What is the resource load situation such as CPU usage rate of EC2 when connection is not possible? SSH connection may fail if EC2 is under heavy load.