From 376f7148ed67ffdf5629afd967eec6789ecf43a0 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Sat, 12 Jul 2025 22:10:36 +0200 Subject: [PATCH] feat: add AcceptEnv directive for proxmox --- templates/sshd/sshd_config.j2 | 3 +++ 1 file changed, 3 insertions(+) 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