how can I keep users in their directory on ssh

tethys ocean tethys.ocean at gmail.com
Sat May 10 12:05:30 UTC 2014


*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. *


More information about the freebsd-questions mailing list