add DenyUsers and DenyGroups example
This commit is contained in:
parent
33ee945557
commit
6e65cdad03
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user