SSH from Mac gives error

0

Executing an SSH commend from Mac terminal with the pathname for the pem file gives an error:

Warning: Identity file /Userkeypair.pem not accessible: No such file or directory

posta 2 anni fa875 visualizzazioni
2 Risposte
1

It maybe seems to be not AWS problem but your mac environment problem.

is '/Userkeypair.pem' really your EC2 instance's identity file?
If so, Try specifying your identity file in your computer with an absolute path.

If you still get an error, write the command you just executed.

con risposta 2 anni fa
1

Make sure you are ssh in the same directory with the correct .pem file. Also change the permissions on the file so that only you (as the file owner) can read it. I ran into the same error when trying to ssh to my website about best stock research websites

con risposta 2 anni 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