[Semibug] SSH Config Problem

Jonathan Drews jondrews at fastmail.com
Sun Jun 26 15:24:55 EDT 2022


Hi Folks:

 I am using OpenBSD 7.1 GENERIC.MP#3 amd64.

 I get an insecurity report each day saying:

Running security(8):

Checking special files and directories.
Output format is:
        filename:
                criteria (shouldbe, reallyis)
missing: ./root/.ssh
missing: ./root/.ssh/authorized_keys

There is no /root/.ssh/. Presumably because I have this in my
/etc/ssh/sshd_config:

# Authentication:

#LoginGraceTime 2m
PermitRootLogin no   <-----
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

Why is it looking for the /root/.ssh/authorized_keys when root ssh is
denied? What am I doing wrong here?

--
Kind regards,
Jonathan



More information about the Semibug mailing list