Skip to content

Commit

Permalink
Fix AllowGroups configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
abrain authored Feb 21, 2022
1 parent 1d7448d commit 374079a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/sshd_config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 374079a

Please sign in to comment.