Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 15:05:29 +0300
From:      tethys ocean <tethys.ocean@gmail.com>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   how can I keep users in their directory on ssh
Message-ID:  <CAOgxTUhZ=VB2KLX4jbpOyABqwpF1Btm71aNH1EyWUsj2q1E=%2Bg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
*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. *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgxTUhZ=VB2KLX4jbpOyABqwpF1Btm71aNH1EyWUsj2q1E=%2Bg>