Unixcop published a tutorial showing you how to use Chroot in OpenSSH.
Using Chroot in OpenSSH
OpenSSH provides many features to harden a SSH server. One of them is the ability to restrict a SSH user session to within a directory using chroot. In this article, I am going to describe how to use this feature in OpenSSH. So to get started, we first need to understand how this works.