install rrsync for backup-sync user ssh access

This commit is contained in:
HgO
2020-11-30 10:24:47 +01:00
parent 750241cd47
commit d242fcb235
5 changed files with 38 additions and 6 deletions

View File

@@ -16,8 +16,7 @@ AcceptEnv LANG LC_*
Subsystem sftp internal-sftp
Match Group {{ backup_owner }}
Match Group {{ backup_group }}
X11Forwarding no
AllowTcpForwarding no
ChrootDirectory {{ backup_chroot_dir }}
ForceCommand internal-sftp
ForceCommand rrsync {{ backup_chroot_dir | quote }}