improve ssh security for backup-sync user
This commit is contained in:
parent
d242fcb235
commit
6c898544c0
@ -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 }}
|
Loading…
x
Reference in New Issue
Block a user