blob: aab9e1692f392e0bf58656483461c3d6f1e69de1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
### Configuration for uploading documents via SFTP
### e.g. using a scanner that supports such a feature
# Only include if sshd is dedicated to paperless
# otherwise you'll lock yourself out
AllowUsers paperless
# paperless can only do sftp and is dropped into correct directory
Match User paperless
ChrootDirectory %h/consume
ForceCommand internal-sftp -u 0077 -d /input
AllowTcpForwarding no
X11Forwarding no
PasswordAuthentication no
|