improve ssh security for backup-sync user
This commit is contained in:
@@ -19,4 +19,6 @@ Subsystem sftp internal-sftp
|
||||
Match Group {{ backup_group }}
|
||||
X11Forwarding no
|
||||
AllowTcpForwarding no
|
||||
ForceCommand rrsync {{ backup_chroot_dir | quote }}
|
||||
AllowAgentForwarding no
|
||||
PermitTTY no
|
||||
ForceCommand rrsync -ro {{ backup_chroot_dir | quote }}
|
||||
Reference in New Issue
Block a user