i cannot connect to my EC2 instance - Failed to connect to your instance Error establishing SSH connection to your instance. Try again later.

0

Failed to connect to your instance
Error establishing SSH connection to your instance. Try again later.

I can no longer connect to my ec2 instance, I accidentally closed the chrome tab when connected to the ec2 instance via instance connect and I can no longer connect.

I have the right security groups and inbound rules set up. Port 20 is open. the vpc and subnets are set up correctly.

1 Antwort
0

It is explained that port 20 is open in the security group, but the default port for SSH is port 22.
Try setting up port 22 before connecting.

Also, please review the following documents as they may be helpful in troubleshooting.
https://repost.aws/knowledge-center/ec2-instance-connect-troubleshooting

profile picture
EXPERTE
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen