From 87b0ef106dda46127f9ea7979e426a41469aeb4c Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 23 Sep 2021 08:55:21 -0700 Subject: [PATCH] sshd_config: Update sshd options Remove options that are the default, and set 'PrintMotd no' because that is now handled by pam. Resolves: rhbz#2007288 --- 80-rhel/config_files/common/sshd_config.anaconda | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/80-rhel/config_files/common/sshd_config.anaconda b/80-rhel/config_files/common/sshd_config.anaconda index 39c0967..e6d4644 100644 --- a/80-rhel/config_files/common/sshd_config.anaconda +++ b/80-rhel/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 +PrintMotd no SyslogFacility AUTHPRIV -RSAAuthentication yes PasswordAuthentication yes PermitEmptyPasswords yes PermitUserEnvironment yes