sshd_config: Apply suggested changes

Some of the options have been removed, others are now the default.
MOTD still needs to be printed, the boot environment doesn't include the
pam motd module.

Resolves: rhbz#1872892
This commit is contained in:
Brian C. Lane 2020-08-26 15:26:58 -07:00
parent 6d2dcc8015
commit 0a4afedba8

View File

@ -1,14 +1,8 @@
Port 22
PermitRootLogin yes PermitRootLogin yes
IgnoreRhosts yes
StrictModes yes
X11Forwarding yes X11Forwarding yes
X11DisplayOffset 10 X11DisplayOffset 10
PrintMotd yes PrintMotd yes
XAuthLocation /bin/xauth
KeepAlive yes
SyslogFacility AUTHPRIV SyslogFacility AUTHPRIV
RSAAuthentication yes
PasswordAuthentication yes PasswordAuthentication yes
PermitEmptyPasswords yes PermitEmptyPasswords yes
PermitUserEnvironment yes PermitUserEnvironment yes