Disable rsa key from ssh host keys
This commit is contained in:
parent
b7e0ef18c5
commit
f490804106
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
line: "#HostKey /etc/ssh/ssh_host_ecdsa_key"
|
||||
regexp: "^#?HostKey /etc/ssh/ssh_host_ecdsa_key"
|
||||
notify: restart sshd
|
||||
- name: enable rsa key from sshd
|
||||
- name: disable rsa key from sshd
|
||||
lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
line: "HostKey /etc/ssh/ssh_host_rsa_key"
|
||||
|
|
Loading…
Add table
Reference in a new issue