I've been using public key authentication on a remote server for some time now for remote shell use as well as for sshfs mounts. After forcing a umount of my sshfs directory, I noticed that ssh began to prompt me for a password. I tried purging the remote .ssh/authorized_keys from any mention the local machine, and I cleaned the local machine from references to the remote machine. I then repeated my ssh-copy-id, it prompted me for a password, and returned normally. But lo and behold, when I ssh to the remote server I am still prompted for a password. I'm a little confused as to what the issue could be, any suggestions?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
Check that the remote end's |
|||
|
|
|
Be careful with the permissions, if the file or the directory containing the ssh files has been chmoded to 777 then sshd will refuse to use that form of authentication for security reasons. |
|||
|
|
|
Check the permission on .ssh/authorized_keys file. Others must read permission to read the key. Thanks |
|||
|