スキップしてコンテンツを表示

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

質問済み 1年前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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ