From 932cb895c2a67422ddfa243fa10aba5886f147f9 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 24 Sep 2017 20:02:41 +0100 Subject: Stop using ssh_host_key on Mageia 6 --- modules/openssh/templates/sshd_config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/openssh/templates/sshd_config b/modules/openssh/templates/sshd_config index fbeba87d..d690cb77 100644 --- a/modules/openssh/templates/sshd_config +++ b/modules/openssh/templates/sshd_config @@ -18,8 +18,10 @@ # The default requires explicit activation of protocol 1 #Protocol 2 +<% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%> # HostKey for protocol version 1 HostKey /etc/ssh/ssh_host_key +<% end %> # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key <% if scope.function_versioncmp([lsbdistrelease, '6']) < 0 -%> -- cgit v1.2.1