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?

질문됨 일 년 전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.
답변함 일 년 전
  • 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

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠