19 lines
500 B
Plaintext
19 lines
500 B
Plaintext
Match Group ftp
|
|
ForceCommand internal-sftp -d /%u
|
|
ChrootDirectory /srv/ftp
|
|
AllowAgentForwarding no
|
|
AllowTcpForwarding no
|
|
X11Forwarding no
|
|
|
|
Match User ftp
|
|
ForceCommand internal-sftp -d /public
|
|
AuthorizedKeysFile /srv/ftp/.ssh/authorized_keys
|
|
|
|
Match User caddy,www-data
|
|
ForceCommand internal-sftp -d /domain1.tld
|
|
AuthorizedKeysFile /srv/www/.ssh/authorized_keys
|
|
ChrootDirectory /srv/www
|
|
AllowAgentForwarding no
|
|
AllowTcpForwarding no
|
|
X11Forwarding no
|