- Newest
- Most votes
- Most comments
Hey – To help narrow the scope of your issue could you provide the error or what happens when you try to SSH? Does it timeout?
A few other questions / comments:
Have you tried instance connect via the Console?
Verify the current IP Address of the instance (assuming an elastic/static IP is not assigned).
If you have snapshot or backup of the instance try launching a new instance in the same subnet and test for connection.
If possible, try from another local network or source.
Verify security group and ACL rules.
Verify that nothing has changed with the route table or internet gateway.
Verify the key pair being used.
https://repost.aws/knowledge-center/ec2-linux-ssh-troubleshooting
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Hi, you should update the question with the systemctl commands that you used: some may well block access to the system
Most probably, it's a iptables/firewall issue.
Do you have previous snapshot that you can rollback to?
Also, what is the error you are getting please?