ssh: Don't support x11 forwarding, rename arguments
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
---
|
---
|
||||||
sshd_x11_forwarding: false
|
ssh_password_auth: false
|
||||||
sshd_password_auth: false
|
|
||||||
|
|||||||
@@ -8,6 +8,6 @@
|
|||||||
validate: '/usr/sbin/sshd -t -f %s'
|
validate: '/usr/sbin/sshd -t -f %s'
|
||||||
notify: Restart sshd
|
notify: Restart sshd
|
||||||
with_dict:
|
with_dict:
|
||||||
PermitRootLogin: 'prohibit-password'
|
PermitRootLogin: "prohibit-password"
|
||||||
PasswordAuthentication: "{{ 'yes' if sshd_password_auth else 'no' }}"
|
PasswordAuthentication: "{{ 'yes' if ssh_password_auth else 'no' }}"
|
||||||
X11Forwarding: "{{ 'yes' if sshd_x11_forwarding else 'no' }}"
|
X11Forwarding: "no"
|
||||||
|
|||||||
Reference in New Issue
Block a user