SSH & SFTP Chroot

Hello all, does anybody knows a procedure to enable an chroot for users using ssh and sftp ? Thanks

With Solaris sshd this is not possible, AFAIK. But with OpenSSH from sunfreeware.com it can be done.

Put all user's who shall be chrooted into a group, let's say group1 and then put something like this into your sshd_config file:

Match Group group1
    ChrootDirectory %h