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
posta 2 mesi fa84 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 2 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande