PEM was working for SSH , but not working now

0

C:\Windows\System32>ssh -i "C:\AWS\tyrewala.pem" ubuntu@3.110.148.25 ubuntu@3.110.148.25: Permission denied (publickey).

Same file was working. i can see the key pair in AWS also .

Ashwini
質問済み 2ヶ月前84ビュー
1回答
0

Hello.

Have you tried the troubleshooting described in the documentation below?
https://repost.aws/knowledge-center/ec2-linux-fix-permission-denied-errors

Try troubleshooting SSH after connecting to EC2 using a serial console or Session Manager in Systems Manager.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-serial-console.html
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html

profile picture
エキスパート
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

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

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

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

関連するコンテンツ