diff --git a/templates/sshd/sshd_config.j2 b/templates/sshd/sshd_config.j2 index 3c06903..21d0d48 100644 --- a/templates/sshd/sshd_config.j2 +++ b/templates/sshd/sshd_config.j2 @@ -19,6 +19,9 @@ PermitRootLogin no {% endif %} # Hardening +{% if inventory_hostname in groups['proxmox'] %} +AcceptEnv LANG LC_* +{% else %} StrictModes yes MaxAuthTries 2 MaxStartups 10:50:20