I think you are looking for chroot, not chmod. Take a look here:
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=chroot+ssh
----- Original Message -----
From: "John Daly" <
jdalyaz2@cox.net>
To: <
plug-discuss@lists.plug.phoenix.az.us>
Sent: Thursday, August 21, 2003 6:00 PM
Subject: jailing a user using ssh?
> Been trying to figure out how to do this. Thinking I could use chmod
> for this? Reading the man, I just can't get it. So what I'm looking for
> is to only allow a user access to just one directory structure. Using RH
> 9.
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>