|
@@ -122,11 +122,12 @@ PrintMotd <%= scope.lookupvar('sshd::print_motd') %>
|
|
<% if (scope.function_versioncmp([scope.lookupvar('::ssh_version'),'6.5'])) >= 0 -%>
|
|
<% if (scope.function_versioncmp([scope.lookupvar('::ssh_version'),'6.5'])) >= 0 -%>
|
|
KexAlgorithms curve25519-sha256@libssh.org
|
|
KexAlgorithms curve25519-sha256@libssh.org
|
|
Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes256-ctr
|
|
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 -%>
|
|
<% else -%>
|
|
Ciphers aes256-ctr
|
|
Ciphers aes256-ctr
|
|
-<% end -%>
|
|
|
|
MACs hmac-sha1
|
|
MACs hmac-sha1
|
|
<% end -%>
|
|
<% end -%>
|
|
|
|
+<% end -%>
|
|
|
|
|
|
<% unless (s=scope.lookupvar('sshd::tail_additional_options')).empty? -%>
|
|
<% unless (s=scope.lookupvar('sshd::tail_additional_options')).empty? -%>
|
|
<%= s %>
|
|
<%= s %>
|