Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 4fe8523

Browse files
author
Sebastian Gumprich
committed
Merge pull request #40 from fheinle/patch-1
Fix whitelisted groups on sshd
2 parents d8783be + a5d342a commit 4fe8523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/ansible-ssh-hardening/templates/opensshd.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ AllowUsers {{ssh_allow_users}}
164164
DenyGroups {{ssh_deny_groups}}
165165
{% endif %}
166166

167-
{% if ssh_deny_groups -%}
167+
{% if ssh_allow_groups -%}
168168
AllowGroups {{ssh_allow_groups}}
169169
{% endif %}
170170

0 commit comments

Comments
 (0)