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
asked a month ago77 views
1 Answer
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
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions