summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:25:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:25:18 -0300
commit9ac4697eb546304ebc20d85aeeb93a73ca0fed5c (patch)
treeb778ea1d34e17efaf8f66c5e74db3b1cf220e76d /templates
parent85880085ff2e1f49b5888865a63f60f307185ab8 (diff)
Changing parameter name sshd_perfect_forward_secrecy to sshd_use_strong_ciphers as sshd already does PFS
Diffstat (limited to 'templates')
-rw-r--r--templates/sshd_config/Debian_lenny.erb2
-rw-r--r--templates/sshd_config/Debian_squeeze.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index ea04fe6..e85eab3 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -189,7 +189,7 @@ PrintMotd no
<%= sshd_tail_additional_options %>
<%- end %>
-<%- if sshd_perfect_forward_secrecy.to_s == 'yes' then -%>
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
Ciphers aes256-ctr
MACs hmac-sha1
<%- end %>
diff --git a/templates/sshd_config/Debian_squeeze.erb b/templates/sshd_config/Debian_squeeze.erb
index 09f4351..38f8657 100644
--- a/templates/sshd_config/Debian_squeeze.erb
+++ b/templates/sshd_config/Debian_squeeze.erb
@@ -203,7 +203,7 @@ AllowGroups <%= sshd_allowed_groups %>
<%= sshd_tail_additional_options %>
<%- end %>
-<%- if sshd_perfect_forward_secrecy.to_s == 'yes' then -%>
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
Ciphers aes256-ctr
MACs hmac-sha1
<%- end %>