add sftp_share role

This commit is contained in:
Sergey Malyuk
2025-12-16 18:03:23 +03:00
parent bbcd68cb98
commit fbd36ee3fc
21 changed files with 371 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
Match User {{ sftp_username }}
ChrootDirectory /primary/data/{{ sftp_username }}-uploads
ForceCommand internal-sftp -u 007 -p {{ sftp_permissions }} -d /transfers
AllowTcpForwarding no
X11Forwarding no