Search LQ for threads about chrooting or check out the LQ FAQ: Security references
, post #4 "Chroot, chrooting, jailing, etc" and read a few. Select one that looks basic enough and try building a chroot just for testing how to chroot a local user. The steps you take and the errors you'll encounter will help you understand what is necessary (dependencies, configuration) for a chroot to work. *Then* try to chroot SSH. Alternatively you could use any prefab jail building script but then you'll have to a) trust the writer, b) read shell script or Perl to understand what gets moved where and c) there'll be no explanation.