[SGVLUG] OpenSSH sftp and rssh
James Neff
jneff at tethyshealth.com
Mon Mar 27 10:11:49 PST 2006
Emerson, Tom wrote:
>>-----Original Message-----
>>[mailto:sgvlug-bounces at sgvlug.net] On Behalf Of James Neff
>>
>>I'm trying to get my sFTP setup and need some assistance.
>>
>>
>[...]
>
>
>>I've got OpenSSH 4.0p1 installed and working. [...]
>>I tried following these instructions [...]
>>Here is the relevant entries in my /var/log/message file:
>>
>>Mar 24 09:23:26 ftp sshd: startup succeeded
>>
>>
>[...]
>
>
>>Mar 24 09:23:38 ftp rssh[1850]: chroot cmd line:
>>/usr/libexec/rssh_chroot_helper 3 "/usr/lib/ssh/sftp-server"
>>
>>... and then it stops.
>>
>>
>
>Since it was working at one point, can you back up to that point and
>compare results in /var/log/message? That may shed some light on the
>problem.
>
>
>
Thanks for the reply Tom. I should have been clearer in my description
but I'm rather frustrated by this at the moment.
The sFTP services work by themselves just fine. I can login and
transfer files using an sFTP client. My problem is when I try to chroot
it (either with rssh or the chroot patch for OpenSSH). I cannot connect
when I follow any of the instructions that I've seen so far. If I go
back to plain 'ole sFTP without trying to jail the user then it does
work. But I want to be able to restrict the user to their home directory.
Anyone have any experiences with this?
Are there commercial sFTP servers out there for Linux? I've found
plenty of Windows servers.
--
James Neff
More information about the SGVLUG
mailing list