Date: Sun, 11 May 2014 11:16:37 -0400 From: Nikolai Wendorf <nick@wholesum.net> To: freebsd-questions@freebsd.org Subject: Re: how can I keep users in their directory on ssh Message-ID: <536F9455.80000@wholesum.net> In-Reply-To: <CAOgxTUhZ=VB2KLX4jbpOyABqwpF1Btm71aNH1EyWUsj2q1E=%2Bg@mail.gmail.com> References: <CAOgxTUhZ=VB2KLX4jbpOyABqwpF1Btm71aNH1EyWUsj2q1E=%2Bg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
have a look at the man page for bash aliased to rbash or the -r option nick On 5/10/2014 8:05 AM, tethys ocean wrote: > *Hi,* > > *I want to give a ssh access to my programmers, but I want to keep them in > thier own directory. * > > *I created these users and tried to ssh access and test I saw that all > these users can go out upper directory* > > *I add sone line to sshd.config file like as;* > > > *Allowusers prog1 prog2 prog3 prog4* > *ChrootDirectory /perlproggroup* > *X11Forwarding no* > *AllowTcpForwarding no* > > *but they still have access to upper directory..* > > *How can I keep them in their own directory.. we dont want to use sftp > etc..* > > *Should I use ssh-keygen?!?!? OR rssh !??!* > > *Regards* > > > > > > > > *-- Share now a pigeon's flight Bluebound along the ancient skies, Its > women forever hair and mammal, A Mediterranean town may arise If you rip > apart a pigeon's heart. * > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536F9455.80000>