내용으로 건너뛰기

Unable to connect to ec2 instance using Connect on console through ssh

0

I was able to connect to my ec2 instance earlier through Connect on console but now getting error while connecting. The security group is enabled for ssh on port 22 but still the error is coming. I had rebooted the instance as well.

Enter image description here

질문됨 일 년 전263회 조회
1개 답변
0

If you were previously able to connect to the EC2 instance via SSH but are now getting an error establishing the connection, Check the instance status: Verify that the instance is still in the "running" state.

• Check the security group: Ensure that the security group associated with the instance still has a rule allowing inbound SSH traffic (port 22) from your IP address or the IP address range you're connecting from.

• Check the key pair: Confirm that you are using the correct private key file to connect to the instance. The key pair must match the one that was used to launch the instance.

• Check the instance public IP or DNS name: Verify that you are using the correct public IP address or public DNS name of the instance to connect.

You can refer Connect using EC2 Instance Connect for further information

AWS
답변함 일 년 전

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

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

관련 콘텐츠