Skip to content

Commit

Permalink
Merge pull request dev-sec#40 from fheinle/patch-1
Browse files Browse the repository at this point in the history
Fix whitelisted groups on sshd
  • Loading branch information
Sebastian Gumprich committed Oct 16, 2015
2 parents 0515fd4 + 952afec commit 1f45d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/ansible-ssh-hardening/templates/opensshd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit 1f45d6f

Please sign in to comment.