From dc91f7ac1795145c668ca126918582569e95d815 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 21 Mar 2016 12:25:34 -0300 Subject: Fact ::ssh_version not being evaluated in templates at wheezy and trusty --- templates/sshd_config/Debian_wheezy.erb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'templates/sshd_config/Debian_wheezy.erb') diff --git a/templates/sshd_config/Debian_wheezy.erb b/templates/sshd_config/Debian_wheezy.erb index bcb1528..ea0568f 100644 --- a/templates/sshd_config/Debian_wheezy.erb +++ b/templates/sshd_config/Debian_wheezy.erb @@ -117,14 +117,9 @@ AllowGroups <%= s %> <%- end -%> <% if scope.lookupvar('::sshd::hardened') == 'yes' -%> -<% if (scope.function_versioncmp([scope.lookupvar('::ssh_version'),'6.5'])) >= 0 -%> KexAlgorithms curve25519-sha256@libssh.org Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com -<% else -%> -Ciphers aes256-ctr -MACs hmac-sha2-512 -<% end -%> <% end -%> <% unless (s=scope.lookupvar('::sshd::tail_additional_options')).empty? -%> -- cgit v1.2.3