summaryrefslogtreecommitdiff
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.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index 65befdc..0c551e5 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -179,7 +179,9 @@ AllowUsers <%= sshd_allowed_users -%>
AllowGroups <%= sshd_allowed_groups %>
<%- end %>
+<%- if sshd_print_motd.to_s == 'no' then -%>
PrintMotd no
+<%- end -%>
<%- if sshd_hardened_ssl.to_s == 'yes' then -%>
Ciphers aes256-ctr
@@ -190,3 +192,7 @@ MACs hmac-sha1
<%= sshd_tail_additional_options %>
<%- end %>
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
+Ciphers aes128-ctr
+MACs hmac-sha1
+<%- end %>