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

gefragt vor 2 Jahren875 Aufrufe
2 Antworten
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.

beantwortet vor 2 Jahren
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

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen