From 0a4afedba8cfa3d5679c28ae5f4b4445ba6a82e5 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 --- .../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