From 74567d1ae7c64edfa40c39b5f7d2b46459160289 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 26 Aug 2020 15:26:58 -0700 Subject: [PATCH] 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 51a4a93f90022db947a7be32248584cdbbad63ab) --- .../99-generic/config_files/common/sshd_config.anaconda | 6 ------ 1 file changed, 6 deletions(-) diff --git a/share/templates.d/99-generic/config_files/common/sshd_config.anaconda b/share/templates.d/99-generic/config_files/common/sshd_config.anaconda index 39c0967e..e1e2bb79 100644 --- a/share/templates.d/99-generic/config_files/common/sshd_config.anaconda +++ b/share/templates.d/99-generic/config_files/common/sshd_config.anaconda @@ -1,14 +1,8 @@ -Port 22 PermitRootLogin yes -IgnoreRhosts yes -StrictModes yes X11Forwarding yes X11DisplayOffset 10 PrintMotd yes -XAuthLocation /bin/xauth -KeepAlive yes SyslogFacility AUTHPRIV -RSAAuthentication yes PasswordAuthentication yes PermitEmptyPasswords yes PermitUserEnvironment yes