EC2 instance is running but I can’t connect via SSH—what could be wrong?

Hello, everyone.

I started an AWS EC2 instance, and it’s running, but I can’t connect to it with SSH. I checked the following again:

  • The instance is in a public subnet and has an Elastic IP

  • My IP can connect to the security group via SSH (port 22)

  • I’m using the right pair of keys

I also looked at a few pages and sites about EC2 SSH connectivity, but I couldn’t find a solution, so I decided to ask here.

Is this a simple configuration problem that I’m missing, or is there something else I should look into? Any help would be great.

Hi,

Could you please DM me the email associated with your Cleavr account?