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
(cherry picked from commit 51a4a93f90)
This commit is contained in:
Brian C. Lane 2020-08-26 15:26:58 -07:00
parent c796b7a858
commit 74567d1ae7

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