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년 전723회 조회
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년 전

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

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

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

관련 콘텐츠