Match Group GROUPNAME User !root
This does nothing. (but sshd restart doesn't tell it's syntactically
incorrect!!!..., values should be delimited by "," comma.. a groupname will
never have space in it..)

and:

Match Group GROUPNAME, User *,!root
This excludes the root if it's in the GROUPNAME group.


So they not just differ by "2 Bytes"


On Tue, Jul 1, 2014 at 6:30 PM, Edward M <[email protected]> wrote:

> On 07/01/14 09:18, Ez Egy wrote:
>
>> #1
>>
>>      Match Group GROUPNAME, User *,!root
>>
>> #2
>>
>>      Match Group GROUPNAME User !root
>>
>> What is the difference between #1 and #2 in the SSHD_CONFIG?
>>
>> If someone could help me.. thanks in advance..
>>
>>
>      May want to take a look at 'PATTERNS' section of 'ssh_config' manpage.

Reply via email to