PDA

View Full Version : SFTP limit users


stormblue
August 10th, 2006, 07:17 PM
I've searched around the internet and the forum and I'm looking to limit all sftp users to /var/www how would I go about doing this? I'd be interested in a guid to ssh and/or sftp for someone who isn't too familiar with it, but understand the basics and configuration of it.

Thanks.

simonn
August 11th, 2006, 12:32 AM
You need to use openssh chroot to do this:

http://www.brandonhutchinson.com/chroot_ssh.html

stormblue
August 11th, 2006, 11:41 AM
Alright, thanks. Looks like it's exactly what I'm trying to do. Thanks!