You may want to check the restricted bash. http://www.gnu.org/manual/bash-2.05a/html_node/bashref_75.html
On Fri, 31 Jan 2003, Jay Sern Liew wrote: > Greetings. > > Basically, I have this group of users, that I give SSH/SFTP access, but I > don't want them to be able to see the complete file hierarchy and ``cd'' to > them. I just want a user to be able to access the user's home, and that's it. > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message