2 Answers
- Newest
- Most votes
- Most comments
0
That error message is local to your computer, it's not related to the EC2 instance. It's telling you that the file permissions on the .pem
file are too permissive. As per the other answer, change the permissions on the file so that only you (as the file owner) can read it: chmod 400 mykeyfilename.pem
Relevant content
- asked 5 months ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago