Confine SSH user to home directory with rbash
You can use rbash to limit a user to their own home directory (they cannot cd to other directories, or write to them). To do this, you will want to edit /etc/passwd and change the user's shell:
should change to
I did this on Ubuntu 12.04, so if your system varies from that then you might have additional steps.