I'm having trouble with an old EC2 instance that I've upgraded to a t2.micro some time ago. It's running Debian, and up until recently, it worked perfectly. However, now it's rejecting SSH connections. I've restarted the instance, and it seems to be running fine because I can send emails, but I can't SSH into it. I noticed that it's not configured for SSM, and I saw a message about needing to upgrade to Nitro for console access. Since the instance isn't running anything critical, I could just rebuild it, but I'm curious if this could be a broader issue or something specific to my setup.
5 Answers
Have you checked to see if your SSH keys have expired? That might be why you can’t connect anymore.
I haven’t seen any recent changes on AWS that would affect SSH connections, at least not in the last five years. So it might be something specific to your instance. Can you tell if you’re getting an error or just timing out when you try to connect?
From what you've described, if SSH is timing out, it could be a network issue. Check your security groups and NACL settings first. But if there's an error message, it might be a problem with the SSH configuration on your Debian instance itself.
Are you trying to connect from the AWS console instead of using your SSH key? That could also cause issues when trying to SSH into your instance.
Actually, we noticed some potential issues related to SSH connections starting around the 15th as well. Our devs are still investigating it, but there might be something larger happening.

Thanks for the suggestion! I hadn't thought of that, but I'm pretty sure my keys are still valid.