I have a system where SSH-ing still asks for the password even though:
- My public key is correctly in the
authorized_keysfile on the remote server. - My private key is stored as
id_rsain my.sshdirectory. - Permissions on the local client and remote server are correct. This includes the home directories, the
.sshdirectories, theauthorized_keysfile, and the key files themselves. - SELinux is disabled on both client and server.
Additionally, /var/log/secure on the server reports the following error on each login attempt:
sshd[17110]: error: Could not get shadow information for <USER>
where I've replaced the actual username with the string <USER>.
What could be the cause of this and/or how do I get my SSH keys working?