Since version 4.8, OpenSSH supports chrooting, so no patches are needed anymore. Debian Lenny comes with OpenSSH version 5.1p1-5, which means that this version of OpenSSH supports chrooting as well. On Debian Etch i've used this howto: http://www.howtoforge.com/chroot_ssh_sftp_debian_etch to inplementate chrooting for my ISPConfig2 server. I did also set $go_info["server"]["ssh_chroot"] = 1 within the config.inc.php file. This did work. Now, i wonder how i have to implementate chrooting for an ISPConfig2 server running on Debian Lenny. Can anyone tell me how to do this?
There is currently now way to use chrooting in ISPConfig 2 without the patch (which is not availble anymore). The chrooting implemented in the newer openssh daemons is not compatible with the old patch, thats why it does not work by simply turning on the chrooting. At the moment there is no way to use chrooting in ispconfig 2 as far as I know. We will have to reimplement the chrooting part to support the new way of chrooting in openssh.
Then, where i was afraid of has happened. I do hope that the new chrooting implementation will be available soon for ISPConfig2.