mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-23 07:28:43 +02:00
Added AllowUsers,AllowGroups,DenyUsers,DenyGroups
This will add more options to set to secure openssh - AllowUsers - AllowGroups - DenyUsers - DenyGroups
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user