I have also done “ForceCommand internal-sftp” but it still seems whenever I use the ChrootDirectory directive, it always acts up.
According to documentation, tutorials, and countless posts I’ve seen on the internet…the “ChrootDirectory” is supposed to chroot a user without having to go through all of the dirty tricks that you used to need to do (make_jail.sh, copy libs/bins/etc/, etc…).
Its supposed to, according to documentation, just “work” and chroot a user or group.