WARNING: UNPROTECTED PRIVATE KEY FILE! code example
Example 1: WARNING: UNPROTECTED PRIVATE KEY FILE!
sudo chmod -R 700 file_name.key
Example 2: WARNING: UNPROTECTED PRIVATE KEY FILE
sudo chmod 600 ~/.ssh/id_rsasudo chmod 600 ~/.ssh/id_rsa.pub
Example 3: private key is too open
chmod 600 ~/.ssh/id_rsa
Example 4: warning unprotected private key file problem on aws instance
add sudo before ssh and then execute
sudo ssh -i "ma.pem" [email protected]
Example 5: Unprotected private key file
sudo chmod 600 ~/.ssh/