chown -R $USER:$USER ~/.ssh chmod 700 ~/.ssh chmod 644 ~/.ssh/* chmod 600 ~/.ssh/id_rsa ~/.ssh/id_dsa ~/.ssh/authorized_keys