add DenyUsers and DenyGroups example
This commit is contained in:
parent
33ee945557
commit
6e65cdad03
@ -33,7 +33,10 @@ sshd_config:
|
|||||||
UsePAM: 'yes'
|
UsePAM: 'yes'
|
||||||
UseDNS: 'yes'
|
UseDNS: 'yes'
|
||||||
AllowUsers: 'vader@10.0.0.1 maul@evil.com sidious luke'
|
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:
|
matches:
|
||||||
sftp_chroot:
|
sftp_chroot:
|
||||||
type:
|
type:
|
||||||
|
Loading…
Reference in New Issue
Block a user