Allow whitelisted groups on ssh

Setting ssh_allow_groups does not work when set since the corresponding if-check tests for the wrong variable
This commit is contained in:
Florian Heinle committed 2015-10-16 19:40:28 +02:00
1 parent d8783be67c
commit a5d342a01a
1 file changed
+1 -1
@@ -164,7 +164,7 @@ AllowUsers {{ssh_allow_users}}
DenyGroups {{ssh_deny_groups}}
{% endif %}
{% if ssh_deny_groups -%}
{% if ssh_allow_groups -%}
AllowGroups {{ssh_allow_groups}}
{% endif %}