SSH- Server Refused our Key

0

I am getting server refused our key when connecting to my EC2 instance from MobaXterm. Security group and key pair name is correct. I’m using a puttgen .ppk version of the Private key. It worked the first and only other time I connected to this instance. Could something have happened to the key file since then or am I missing something else?

質問済み 2年前744ビュー
2回答
1

Sometimes this is caused by not sending the correct login id (ec2-user, ubuntu, etc) when connecting.

profile pictureAWS
エキスパート
kentrad
回答済み 2年前
0

Another possible reason is incorrect permissions for user's (ec2-user, ubuntu,centos etc) home directory and SSH files (~/.ssh/). You can use the AWSSupport-TroubleshootSSH Systems Manager Automation runbook to troubleshoot common SSH issues in EC2 Linux instances. Refer to following AWS Knowledge Centre article for further details.

https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ssh-errors-automation-workflow/

profile pictureAWS
回答済み 2年前

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

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

質問に答えるためのガイドライン

関連するコンテンツ