Files
ansible-collection-infrastr…/roles/system_setup/templates/sshd_config.j2

14 lines
197 B
Django/Jinja
Executable File

{{ ansible_managed | comment }}
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
AllowUsers admin
ClientAliveInterval 300
ClientAliveCountMax 2
Protocol 2
X11Forwarding no