在stagge1中设置sshd中UseDns选项为no
This commit is contained in:
@@ -128,3 +128,6 @@
|
||||
systemd:
|
||||
name: sshd
|
||||
enabled: yes
|
||||
|
||||
- name: "set sshd UseDns no"
|
||||
shell: sed -i 's/#UseDNS yes/UseDNS no/g' /etc/ssh/sshd_config
|
||||
|
||||
Reference in New Issue
Block a user