2 Answers
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
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
answered 2 years ago
Relevant content
- asked a year ago
- asked 2 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago