For some reason ChrootDirectory configuration did not work for me.
Here is why. Basically, sshd will check if /chroot directory has
proper owner and access rights. No problem with owner and rights:
create /chroot/user1, /chroot/user2
chown SvcCOPSSH /chroot
chmod 0755 /chroot
Do not forget some changes in the sshd_config:
Subsystem sftp internal-sftp
Match user user1,user2
But no luck. sshd keeps complaining:
sshd: PID 2448: fatal: bad ownership or modes for chroot directory component "/".
The problem is that sshd assumes that root has uid 0.
Open the passwd and change the uid to 0 for user SvcCOPSSH (0 after 2000/xp):
After service restart users are chrooted where they belong. No browsing.