Hi, Recently I was installing a Debian Etch based server for a school. Since students can be really naughty sometimes and do something bad while exploring the filesystem by SSH, I've used the second way to chroot them into a jail. After loging by SSH everything works fine,user is locked in his jail and doesn't see to much.Unfortunetly chrooted users cannot log in by SFTP nor SCP. Here's a part of the auth.log: I tried to connect by Midnight Commander and in efect I've got empty directory. I believe WinSCP gave an "Access Denied" error (can't remember). Other (not chrooted) users can connect without problems. One other thing that concerns me is that mod_userdir doesn't work for chrooted users. All the browser gives back is error 404. I've even chmod 777 index.html in /home/chroot/home/klient2/public_html to be sure. I hope Apache doesn't have to be in the jail for it to work. Can it be fixed somehow ? Thanks for Your help.