add DenyUsers and DenyGroups example

This commit is contained in:
Niels Abspoel 2015-01-17 20:04:03 +01:00
parent 33ee945557
commit 6e65cdad03
1 changed files with 4 additions and 1 deletions

View File

@ -33,7 +33,10 @@ sshd_config:
UsePAM: 'yes'
UseDNS: 'yes'
AllowUsers: 'vader@10.0.0.1 maul@evil.com sidious luke'
AllowGroups: 'wheel staff'
DenyUsers: 'yoda chewbaca@112.10.21.1'
AllowGroups: 'wheel staff imperial'
DenyGroups: 'rebel'
Deny
matches:
sftp_chroot:
type: