0 votes
in AWS by
What should the permissions of a key pair (.pem file) be before connecting to an EC2 instance?



a) 777



b) 600



c_) None of these answers is correct



d) 400

1 Answer

0 votes
by
d) 400

The key pair .pem file should be 400 before connecting to an EC2 instance. This is the AWS recommended octal permissions for a .pem file. Video for reference: Connecting to an EC2 Instance from Windows Video for reference: Connecting to an EC2 Instance from Terminal (Not Windows)

Related questions

0 votes
asked Sep 1, 2022 in AWS by sharadyadav1986
0 votes
asked Aug 30, 2022 in AWS by sharadyadav1986
...