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.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index 14e32bf..65befdc 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -181,6 +181,11 @@ AllowGroups <%= sshd_allowed_groups %>
PrintMotd no
+<%- if sshd_hardened_ssl.to_s == 'yes' then -%>
+Ciphers aes256-ctr
+MACs hmac-sha1
+<%- end -%>
+
<%- unless sshd_tail_additional_options.to_s.empty? then %>
<%= sshd_tail_additional_options %>
<%- end %>