Trying to SSH into an Amazon Ec2 instance - permission error

后端 未结 29 3490
一生所求
一生所求 2020-11-27 08:51

This is probably a stupidly simple question to some :)

I\'ve created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to

29条回答
  •  青春惊慌失措
    2020-11-27 09:11

    The issue for me was that my .pem file was in one of my NTFS partitions. I moved it to my linux partition (ext4).

    Gave required permissions by running:

    chmod 400 my_file.pem

    And it worked.

提交回复
热议问题