Re: scp with chroot

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 06/26/05


Date: Sat, 25 Jun 2005 21:15:41 -0400


"David Magda" <dmagda+trace050401@ee.ryerson.ca> wrote in message
news:m2r7eq89gl.fsf@gandalf.local...
> shpot4@yahoo.com writes:
>
>> Has anyone implemented scp with chroot-ing a user? If so, could you
>> please explain or point me to some instructions which I may follow?
>> I'm using OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004.
>
> Depending on your setup, you can replace the shell of the person
> logging in with one of the following two programs:
>
> http://www.sublimation.org/scponly/
> http://www.pizzashack.org/rssh/index.shtml

Or dig around on sourceforge.net for openssh and chroot. It takes some
setup, and is better off done by tweaking the SSH server to actually support
chroot accounts.