]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
Adding sshd_use_strong_ciphers to all sshd_config templates
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 17:40:02 +0000 (14:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Feb 2011 17:40:02 +0000 (14:40 -0300)
templates/sshd_config/CentOS.erb
templates/sshd_config/Debian_etch.erb
templates/sshd_config/Debian_squeeze.erb
templates/sshd_config/Gentoo.erb
templates/sshd_config/OpenBSD.erb
templates/sshd_config/Ubuntu_lucid.erb

index 544effe09fadcc8f51babc1d0a8aafce8a9cabf7..f2ad175c424bd6b0f692cc85e586091e51e00226 100644 (file)
@@ -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 %>
index d0d7175bbb7ffacde1d9f77e2ca977d9d5c20aad..562b1efb2038e48bf617faec1dfc182c76c40b7e 100644 (file)
@@ -182,3 +182,7 @@ AllowGroups <%= sshd_allowed_groups %>
 <%= sshd_tail_additional_options %>
 <%- end %>
 
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
+Ciphers aes128-ctr
+MACs hmac-sha1
+<%- end %>
index 38f865791dc96fd5d7cfcb64bec5825f63d013d8..53175ddebe68c9e7e39ad7ebb46c9dac3af8ba6e 100644 (file)
@@ -204,6 +204,6 @@ AllowGroups <%= sshd_allowed_groups %>
 <%- end %>
 
 <%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
-Ciphers aes256-ctr
+Ciphers aes128-ctr
 MACs hmac-sha1
 <%- end %>
index 768d3f5dd77341187a6ee9fb6f32707976260458..85ff9d9846c4d78cdc07b1e71b01ec9e482f97b2 100644 (file)
@@ -213,4 +213,7 @@ AllowGroups <%= sshd_allowed_groups %>
 <%= sshd_tail_additional_options %>
 <%- end %>
 
-
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
+Ciphers aes128-ctr
+MACs hmac-sha1
+<%- end %>
index 51662d3ebdcc59e83ff31b36a25c1d7d9a49d3c0..63c4ff1e8b4173a54abbcc15013da6b854370ac0 100644 (file)
@@ -187,3 +187,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 %>
index d5c9c31c4769c640f4387033df1e3e8a9757fc37..904a40987131ddb33b256ef917fd42b48e7e39d3 100644 (file)
@@ -188,3 +188,7 @@ PrintMotd no
 <%= sshd_tail_additional_options %>
 <%- end %>
 
+<%- if sshd_use_strong_ciphers.to_s == 'yes' then -%>
+Ciphers aes128-ctr
+MACs hmac-sha1
+<%- end %>