improve ssh security for backup-sync user

master
HgO 2020-11-30 10:44:48 +01:00
parent d242fcb235
commit 6c898544c0
1 changed files with 3 additions and 1 deletions

View File

@ -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 }}