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

0

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

  • Hi sumit, is your SSH issue is resolved?? if yes please help what is exact reason and how to solve?

已提问 1 年前601 查看次数
2 回答
0

Sumit Kumar,

Could you kindly post snapshot of your errors? Firstly, check your EC2 is in proper state, i.e. running and accessible. Try to check the EC2 status in AWS console and connect to it using instance connect or via System Manager.

If it is accessible from AWS console, try to explore the following reasons.

  1. Key pair mismatch. You are using different keypair to login EC2. Need use the same keypair when you specified during launched the EC2 instance.
  2. Security group Issue: The default security group does not allow incoming SSH traffic from Internet. Check the security group settings and ensure that it allows incoming traffic on port 22 from your own IP address or add 0.0.0.0 for any IP address.
  3. Public DNS name or IP address. Especially when you stop the instance for a while and start again, the DNS name or IP may change.
  4. Network ACLs. Checked whether there is network ACL configued to block the access in VPC. You can enable VPC Flow to check the error messages in CloudWatch Logs.
已回答 1 年前
  • Your all requirements are fulfilled. But can't login

0

Your all requirements are fulfilled. But can't loginHere the snapshort
Enter image description here

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则