role_ssh/templates/security.conf.j2
2025-04-11 13:47:58 +02:00

11 lines
250 B
Django/Jinja

# {{ ansible_managed }}
PermitRootLogin {{ ssh_permit_root_login }}
PasswordAuthentication no
PermitEmptyPasswords no
LoginGraceTime 30
{{ 'DebianBanner no' if (ansible_facts['distribution'] | lower) == 'debian' }}
X11Forwarding no
StrictModes yes