This repository has been archived on 2026-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
Set-OPS/roles/ssh_hardening/templates/20-chezlepro-hardening.conf.j2

15 lines
592 B
Django/Jinja

# Managed by Ansible — Set-OPS
Port {{ chezlepro_ssh_port }}
PermitRootLogin {{ chezlepro_ssh_permit_root_login }}
PubkeyAuthentication {{ chezlepro_ssh_pubkey_authentication }}
PasswordAuthentication {{ chezlepro_ssh_password_authentication }}
KbdInteractiveAuthentication no
PermitEmptyPasswords no
X11Forwarding no
AllowTcpForwarding no
AllowAgentForwarding no
ClientAliveInterval {{ chezlepro_ssh_client_alive_interval }}
ClientAliveCountMax {{ chezlepro_ssh_client_alive_count_max }}
MaxAuthTries {{ chezlepro_ssh_max_auth_tries }}
LoginGraceTime {{ chezlepro_ssh_login_grace_time }}