aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/Debian_lenny.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/sshd_config/Debian_lenny.erb')
-rw-r--r--templates/sshd_config/Debian_lenny.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index 18f3e4d..5f7afb4 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -182,7 +182,9 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
+<%- if sshd_print_motd.to_s == 'no' then -%>
PrintMotd no
+<%- end -%>
<%- unless sshd_tail_additional_options.to_s.empty? then %>
<%= sshd_tail_additional_options %>