On 03/27/11 1:03 PM, Rainer Duffner wrote:
If you use sftp, it can be chroot'ed by default (see man-page). (In reasonably recent version of sshd)
I gather thats a sshd somewhat newer than the one included in CentOS 5 ? the only mention of chroot in man sshd is the /var/empty/sshd dir used during preauthorization.
I'd be very cautious on setting this up, or you could easily lose access to ssh shell sessions since ssh/scp/sftp are all so tightly coupled.