Fix “Permissions are too open … private key will be ignored”

Fix “Permissions are too open … private key will be ignored”


Change permissions:
sudo chmod 600 ~/.ssh/id_rsa

sudo chmod 600 ~/.ssh/id_rsa.pub

sudo chmod 644 ~/.ssh/known_hosts

sudo chmod 755 ~/.ssh