From 64ea421bba2e081ebda42297990f534b793b101b Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Wed, 5 Aug 2020 14:09:46 +0300 Subject: [PATCH] Ensure that motd is not displayed twice motd is handled by default with pam_motd.so module. Setting Banner option for sshd_config makes motd to be shown twice, which is excessive Change-Id: I4e8bdbe8f482f61235b4b14a619e4ed91b01f2f4 --- templates/sshd_config_block.j2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/sshd_config_block.j2 b/templates/sshd_config_block.j2 index 586a1453..69d6f745 100644 --- a/templates/sshd_config_block.j2 +++ b/templates/sshd_config_block.j2 @@ -12,8 +12,6 @@ HostbasedAuthentication no {% endif %} # V-72221 Ciphers {{ security_sshd_cipher_list }} -# V-72225 -Banner {{ security_sshd_banner_file }} # V-72237 ClientAliveInterval {{ security_sshd_client_alive_interval }} # V-72241