ssh: Don't support x11 forwarding, rename arguments

This commit is contained in:
uumas
2025-03-28 04:17:43 +02:00
parent 3cabd55d0b
commit c26c3f8b8e
2 changed files with 4 additions and 5 deletions

View File

@@ -8,6 +8,6 @@
validate: '/usr/sbin/sshd -t -f %s'
notify: Restart sshd
with_dict:
PermitRootLogin: 'prohibit-password'
PasswordAuthentication: "{{ 'yes' if sshd_password_auth else 'no' }}"
X11Forwarding: "{{ 'yes' if sshd_x11_forwarding else 'no' }}"
PermitRootLogin: "prohibit-password"
PasswordAuthentication: "{{ 'yes' if ssh_password_auth else 'no' }}"
X11Forwarding: "no"