From 374079ac500e1161fb50fc83837a6202525e63de Mon Sep 17 00:00:00 2001 From: Andreas Brain Date: Mon, 21 Feb 2022 13:31:13 +0100 Subject: [PATCH] Fix AllowGroups configuration --- templates/sshd_config.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2 index d470406..5a307e8 100644 --- a/templates/sshd_config.j2 +++ b/templates/sshd_config.j2 @@ -117,7 +117,7 @@ UsePAM yes {% endif %} {% if sshd__restrict_groups -%} - AllowUsers {{ sshd__allowed_groups|join(' ') }} + AllowGroups {{ sshd__allowed_groups|join(' ') }} {%- endif %} # Allow client to pass locale environment variables