From 70a9daf916ea442794b6e6e27230cd69dac0e65f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 8 Dec 2020 13:40:02 +0100 Subject: [PATCH] Use only RSA hostkeys in RHEL6 --- vars/RedHat_6.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vars/RedHat_6.yml b/vars/RedHat_6.yml index 5ca5bb1..03ae474 100644 --- a/vars/RedHat_6.yml +++ b/vars/RedHat_6.yml @@ -4,6 +4,8 @@ sshd_packages: - openssh-server sshd_sftp_server: /usr/libexec/openssh/sftp-server __sshd_defaults: + HostKey: + - /etc/ssh/ssh_host_rsa_key Protocol: 2 SyslogFacility: AUTHPRIV PasswordAuthentication: yes