enable ssh host key verification over DNS
This commit is contained in:
1
roles/base/files/system_setup/ssh_custom.conf
Normal file
1
roles/base/files/system_setup/ssh_custom.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
VerifyHostKeyDNS yes
|
||||||
@@ -36,6 +36,16 @@
|
|||||||
mode: '0644'
|
mode: '0644'
|
||||||
notify: restart_sshd
|
notify: restart_sshd
|
||||||
|
|
||||||
|
- name: system setup | openssh | copy ssh client custom config
|
||||||
|
tags: openssh,ssh,system,settings
|
||||||
|
copy:
|
||||||
|
force: True
|
||||||
|
src: system_setup/ssh_custom.conf
|
||||||
|
dest: /etc/ssh/ssh_config.d/custom.conf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
|
||||||
- name: system setup | openssh | install fail2ban
|
- name: system setup | openssh | install fail2ban
|
||||||
tags: fail2ban,ssh,system,settings
|
tags: fail2ban,ssh,system,settings
|
||||||
package:
|
package:
|
||||||
|
|||||||
Reference in New Issue
Block a user