sudo chmod 700 ~/.ssh sudo chmod 600 ~/.ssh/authorized_keys sudo chmod 600 ~/.ssh/id_rsa sudo chmod 644 ~/.ssh/id_rsa.pub