diff --git a/pillar.example b/pillar.example index 42007da..70ec760 100644 --- a/pillar.example +++ b/pillar.example @@ -30,6 +30,15 @@ sshd_config: Subsystem: "sftp /usr/lib/openssh/sftp-server" UsePAM: 'yes' UseDNS: 'yes' + matches: + sftp_chroot: + type: + Group: sftpusers + options: + ChrootDirectory: /sftp-chroot/%u + X11Forwarding: no + AllowTcpForwarding: no + ForceCommand: internal-sftp openssh: auth: