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

質問済み 2年前875ビュー
2回答
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.

回答済み 2年前
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

回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン