improve ssh security for backup-sync user
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…
Reference in New Issue