add sftp_share role
This commit is contained in:
5
roles/sftp_share/templates/sshd_config.conf.j2
Normal file
5
roles/sftp_share/templates/sshd_config.conf.j2
Normal 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
|
||||
Reference in New Issue
Block a user