base: Really disable rsa key and not just say so

This commit is contained in:
Timo Makinen 2020-08-28 07:29:59 +00:00
parent cf76184a12
commit 18919643d9

View file

@ -48,7 +48,7 @@
- name: disable rsa key from sshd
lineinfile:
path: /etc/ssh/sshd_config
line: "HostKey /etc/ssh/ssh_host_rsa_key"
line: "#HostKey /etc/ssh/ssh_host_rsa_key"
regexp: "^#?HostKey /etc/ssh/ssh_host_rsa_key"
notify: restart sshd
- name: enable ed25519 key from sshd