Re: WinSCP chroot - the quick way
Another option for chroot'ing a user for SFTP/SCP only access is to use
Misc notes:
rssh
, available at http://www.pizzashack.org/rssh/. I was able to get working easily (<1 hour from download to operational) on RH9 with WinSCP 3 (also tested with FileZilla 2.2) as the client running SFTP.
Misc notes:
- Use with OpenSSH version > 3.5.
- Edit the
/etc/rssh.conf
file to restrict chroot access per user if desired. - Edit
/etc/shells
to add/usr/bin/rssh
as a valid shell - Read:
$man rssh
and$man rssh.conf
for details on usage. - Details on how to setup the chroot environment for
rssh
SCP/SFTP are included in the rssh source tarball.