Restricting SSH access to only a users home directory.....

Jerry M. Howell II jmhowell at jmhowell.com
Fri Nov 21 18:46:45 PST 2003


On Fri, Nov 21, 2003 at 12:59:00AM -0800, shrikant at corp.123india.com wrote:
> 
> Hi there ,
> 
>  Can any body tell me how i can restrict an user SSH  to his own home directory .
>  I am using FreeBSD OpenSSH_2.9 FreeBSD  SSH protocols 1.5/2.0 .
> 
>  Any links or  help will be appriciated
> 
> Shrikant
> 

What your refering to is a jail. I didn't do much searching but a quick
google search brought this up

http://docs.freebsd.org/44doc/papers/jail/jail.html

I'm almost for certian the handbook on http://www.freebsd.org also has
some information on this.
-- 
Jerry M. Howell II


More information about the freebsd-questions mailing list