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?