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
|
- name: disable rsa key from sshd
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/ssh/sshd_config
|
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"
|
regexp: "^#?HostKey /etc/ssh/ssh_host_rsa_key"
|
||||||
notify: restart sshd
|
notify: restart sshd
|
||||||
- name: enable ed25519 key from sshd
|
- name: enable ed25519 key from sshd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue