On 2/2/07, Mark Knecht <[EMAIL PROTECTED]> wrote:
Hi,
   I'm wondering if it is possible and/or advisable to set up an
account where a user can scp files in and out of his home directory
using scp but if he logs into the machine using ssh he cannot go
anywhere outside of his home directory?

   How would I set something like this up?

Mark,

Rebuild openssh with the chroot USE flag enabled and then have a look
at the following HOWTO:

http://www.howtoforge.com/chrooted_ssh_howto_debian

It's a bit of work to set up but it works well.  We have a similar
setup at work for our shared hosting customers.

Regards,

Greg
--
[email protected] mailing list

Reply via email to