I've followed this http://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny how to however run into a couple of problems. an ls under my test users home directory shows bin dev etc home lib sbin usr which I guess is for them to have access to the programs defined under APPS= in make_chroot_jail.sh When logging in via ssh the default directory is /home and not /home/test and I can also browse other users folders, that said I can't see anything lower than /home ie /usr. Ideally i'd like the user jailed to their own home folder and a neater way of having the 'APPS' organized so it's not in ever users directory and run chrooted sftp and ssh. here's a snip of the end of my sshd_config file Code: Subsystem sftp /usr/lib/openssh/sftp-server Match Group users ChrootDirectory /home AllowTCPForwarding no X11Forwarding no Any help would be greatly appreciated.
Are you sure this is the real /home directory, or is it the /home directory in the jail (i.e. /home/test/home)?
logging in pwd shows / and ls shows bin dev etc home lib sbin test test2 usr test2 is a seperate user so it seems it's the real /home when I cd /test ls shows bin dev etc home lib sbin usr
if I gave you a login to a 'fresh' install do you think you'd be able to have a try and see how the install goes for you? i'd happily make a donation or become a subscriber.