base: Really disable rsa key and not just say so
This commit is contained in:
parent
cf76184a12
commit
18919643d9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue