nano /etc/ssh/sshd_config
Et rajouter après UsePam=yes
Match User **UTILISATEUR** ChrootDirectory /path AllowTCPForwarding no X11Forwarding no ForceCommand internal-sftp
chmod 755 /path -R chown root:root /path -R
service ssh restart
https://unix.stackexchange.com/questions/359523/restrict-sftp-user-to-multiple-folders