I use my Mac to login to remote hosts via Terminal.app using
ssh and local stored keys a.k.a. passwordless login a.k.a authentication key login.
All of a sudden the new
ssh login attempts are:
- asking for the password, where before the logins were passwordless
The authenticity of host XYZ can't be established.
- yes answering
Are you sure you want to continue connecting (yes/no)?
Failed to add the host to the list of known hosts (/Users/user/.ssh/known_hosts).
ls ~/.ssh results in all "Permission denied":
ls: authorized_keys: Permission denied ls: config: Permission denied ls: id_rsa: Permission denied ls: id_rsa.pub: Permission denied ls: known_hosts: Permission denied
How to fix this?