Debian's sshd config typically has PrintMotd no set because its already printed via PAM.

Without it set, it is defaulted to 'yes', which results in the MOTD being printed twice, so
we return the Debian default configuration in this commit
This commit is contained in:
Micah Anderson 2008-10-27 15:45:11 -04:00
parent 98ddbe8ef5
commit 1f25b213e1
2 changed files with 2 additions and 1 deletions

View file

@ -168,9 +168,9 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
PrintMotd no
<%- unless sshd_additional_options.to_s.empty? then %>
<%= sshd_additional_options %>
<%- end %>

View file

@ -174,6 +174,7 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
PrintMotd no
<%- unless sshd_additional_options.to_s.empty? then %>
<%= sshd_additional_options %>