- What does unprotected private key file mean?
- How to fix warning unprotected private key file on Mac and Linux?
What does unprotected private key file mean?
Published by Schakko on January 10, 2020 January 10, 2020
Inside a native Linux environment the error UNPROTECTED KEY FILE always means that the permissions of private key file are way too open. The error usually occurs if you are trying to connect with SSH and a private key to a remote host.
How to fix warning unprotected private key file on Mac and Linux?
To fix this problem you need to use the chmod command. You need to make sure that the the permissions of suse-ec2-server-jp. pem is set to 0400 i.e. the file only readable by you and not by any other groups, users, and others.