On Thu, 24 Oct 2019, Paul Slootman wrote:

> Note also that ssh is very particular about permissions of all directories
> concerned, e.g. if /, /root, or /root/.ssh are in any way writeable by
> others, ssh will refuse to use any keys as those may have been
> manipulated. Ideally /root and /root/.ssh should be drwx------ (chmod 700)
> (and of course be owned by root). The authorized_keys file should also be
> -rw------- (chmod 600) and owned by root.

Paul,

root/.ssh/ has perms
-rw-r--r-- 1 root root  93 Oct 23 15:09 authorized_keys
-rw-r--r-- 1 root root 249 Nov 15  2018 config
-rw------- 1 root root 399 Oct 23 11:39 id_ed25519
-rw-r--r-- 1 root root  92 Oct 23 11:39 id_ed25519.pub
-rw-r--r-- 1 root root 326 Oct 23 15:46 known_hosts

I changed authorized_keys and known_hosts from 644 to 600.

The results of Wes' suggestion are in my reply to his message.

Thanks for correcting the permissions on the two files.

Rich

_______________________________________________
Dirvish mailing list
Dirvish@dirvish.org
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to