# Managed by Ansible, role ssh_hardening. Local edits are overwritten. PasswordAuthentication {{ 'yes' if ssh_hardening_password_authentication else 'no' }} KbdInteractiveAuthentication {{ 'yes' if ssh_hardening_password_authentication else 'no' }} PermitEmptyPasswords no PermitRootLogin {{ ssh_hardening_permit_root_login }} PubkeyAuthentication yes MaxAuthTries {{ ssh_hardening_max_auth_tries }} LoginGraceTime {{ ssh_hardening_login_grace_time }} {% if ssh_hardening_allow_groups %} AllowGroups {{ ssh_hardening_allow_groups | join(' ') }} {% endif %} {% if ssh_hardening_allow_users %} AllowUsers {{ ssh_hardening_allow_users | join(' ') }} {% endif %} X11Forwarding {{ 'yes' if ssh_hardening_x11_forwarding else 'no' }} AllowAgentForwarding {{ 'yes' if ssh_hardening_agent_forwarding else 'no' }} AllowTcpForwarding {{ 'yes' if ssh_hardening_tcp_forwarding else 'no' }} ClientAliveInterval {{ ssh_hardening_client_alive_interval }} ClientAliveCountMax {{ ssh_hardening_client_alive_count_max }} KexAlgorithms {{ ssh_hardening_kex_algorithms | join(',') }} Ciphers {{ ssh_hardening_ciphers | join(',') }} MACs {{ ssh_hardening_macs | join(',') }}