[Nottingham] chroot-ed file transfer

Roger Light roger at atchoo.org
Fri Sep 9 13:02:38 UTC 2011


> Any easy way for that for scp and rsync?

Haven't you already covered that by saying you can chroot ssh? scp
uses ssh and rsync can do as Dylan says. If that's their only means of
connecting then all is good.

A quick google for ssh chroot turned up
http://www.techrepublic.com/blog/opensource/chroot-users-with-openssh-an-easier-way-to-confine-users-to-their-home-directories/229
That offers a very nice solution that I'd not seen before if you're
only wanting to offer file transfer capabilities rather than a
chrooted shell account. When I've done this in the past it's been a
pain because of keeping the chroots up to date - this solves it very
neatly.

Cheers,

Roger



More information about the Nottingham mailing list