change permissions on pem key but still getting permissions 0555 ssh ec2 code example
Example 1: Load key ".pem": bad permissions
chmod 400 ~/.ssh/mykeyfile.pem
Example 2: pem key permissions too open
chmod 400 mykey.pem
chmod 400 ~/.ssh/mykeyfile.pem
chmod 400 mykey.pem