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

demandé il y a 2 ans875 vues
2 réponses
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.

répondu il y a 2 ans
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

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions