aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config/CentOS.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:40:02 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-02-23 14:40:02 -0300
commit75105d66d89671943a1eb1f37573b4e63dd33919 (patch)
tree2088a94dd636c4cbe80dbc80c8c235fa4c233e46 /templates/sshd_config/CentOS.erb
parent9ac4697eb546304ebc20d85aeeb93a73ca0fed5c (diff)
downloadpuppet-sshd-75105d66d89671943a1eb1f37573b4e63dd33919.tar.gz
puppet-sshd-75105d66d89671943a1eb1f37573b4e63dd33919.tar.bz2
Adding sshd_use_strong_ciphers to all sshd_config templates
Diffstat (limited to 'templates/sshd_config/CentOS.erb')
-rw-r--r--templates/sshd_config/CentOS.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/sshd_config/CentOS.erb b/templates/sshd_config/CentOS.erb
index 544effe..f2ad175 100644
--- a/templates/sshd_config/CentOS.erb
+++ b/templates/sshd_config/CentOS.erb
@@ -207,3 +207,8 @@ AllowGroups <%= sshd_allowed_groups %>
<%- unless sshd_tail_additional_options.to_s.empty? then %>
<%= sshd_tail_additional_options %>
<%- end %>
+
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
+Ciphers aes128-ctr
+MACs hmac-sha1
+<%- end %>