Why do I get "Directive AllowGroups is not allowed within a Match block" errors in RHEL6.4?
Issue
- When following lines are inserted into the
sshd_conf:
Match Address 195.160.4.0/27
AllowGroups test
- I receive following errors:
Starting sshd: /etc/ssh/sshd_config line 156: Directive 'AllowGroups' is not allowed within a Match block.
- Why such errors appears?
Environment
- Red Hat Enterprise Linux (RHEL) 6.4.
sshdconfiguration.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.