Added AllowUsers,AllowGroups,DenyUsers,DenyGroups

This will add more options to set to secure openssh
- AllowUsers
- AllowGroups
- DenyUsers
- DenyGroups
This commit is contained in:
Niels Abspoel
2015-01-16 22:56:59 +01:00
parent 23c725aaeb
commit 33ee945557
2 changed files with 21 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@ sshd_config:
Subsystem: "sftp /usr/lib/openssh/sftp-server"
UsePAM: 'yes'
UseDNS: 'yes'
AllowUsers: 'vader@10.0.0.1 maul@evil.com sidious luke'
AllowGroups: 'wheel staff'
matches:
sftp_chroot:
type: