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 réponse
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
EXPERT
répondu il y a un an
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions