1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
If it is a timeout error, it is possible that SSH traffic is not allowed due to security group or network ACL settings.
So, first try the troubleshooting methods in the document below.
https://repost.aws/knowledge-center/ec2-linux-resolve-ssh-connection-errors
Also, make sure that the route to the Internet gateway is set in the route table of the subnet where EC2 is running.
https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithRouteTables.html#AddRemoveRoutes
Also check to see if your on-premises router is blocking SSH traffic.
Relevant content
- asked 3 months ago
- asked 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 9 months ago