On Wed 23 Oct 2019, wes wrote: > > > > As before: > > > > # ssh localhost > > Permission denied (publickey). > > > > > Ok, try ssh -vi /root/.ssh/id_ed25519 localhost > > v for verbose, i for "identity file" which is the private key you want it > to use. Perhaps this version of SSH does not look for this file by default?
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 _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
