diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 14:40:02 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-23 14:40:02 -0300 |
commit | 75105d66d89671943a1eb1f37573b4e63dd33919 (patch) | |
tree | 2088a94dd636c4cbe80dbc80c8c235fa4c233e46 /templates/sshd_config/Gentoo.erb | |
parent | 9ac4697eb546304ebc20d85aeeb93a73ca0fed5c (diff) |
Adding sshd_use_strong_ciphers to all sshd_config templates
Diffstat (limited to 'templates/sshd_config/Gentoo.erb')
-rw-r--r-- | templates/sshd_config/Gentoo.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/sshd_config/Gentoo.erb b/templates/sshd_config/Gentoo.erb index 768d3f5..85ff9d9 100644 --- a/templates/sshd_config/Gentoo.erb +++ b/templates/sshd_config/Gentoo.erb @@ -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 %> |