kio_sftp rewrite

Carlo brandon.ml at gmail.com
Wed Aug 5 22:25:28 BST 2009


On Wed, Aug 5, 2009 at 11:14 PM, Urs Wolfer<uwolfer at kde.org> wrote:
> On Wednesday 05 August 2009 15:39:07 Andreas Schneider wrote:
>> Hello list!
>>
>> My name is Andreas Schneider, I'm a developer and the maintainer of libssh,
>>  a library which implements the SSH Protocol.
>> During the openSUSE Hack Week I've rewritten kio_sftp using libssh with the
>>  a little help from Dirk Müller. The old kioslave implemented the sftp
>>  protocol itself, executed the ssh binary and piped everything into the
>>  binary.
>>
>> With libssh you have less code to maintain and the new slave provides more
>> features than the old one (datails for list and stat, resume support).
>>
>> I have a patch of my current work for KDE 4.3. You can find it here:
>>
>> http://reviewboard.kde.org/r/1226/
>>
>> The slave works just fine here, but still needs more testing. If you want
>>  to test it you need at least libssh 0.3.2. You can get it at
>> http://www.libssh.org/.
>>
>> If you're interested I would maintain kio_sftp and add more features. I'm
>> implementing support for openssh extensions in libssh at the moment
>>  (statvfs, fstatvfs). This would allow us to check available disk space
>>  first before we copy anything to the server.
>
> Sounds very promising since this is one of the important kioslaves for me.
>
> Have you also compared performace wise?
>
> Oh, btw, what's the real difference between this one and the fish kioslave?
> Could we drop fish?
>
> Bye
> urs
>

the sftp kioslave uses the sftp protocol  while fish use a remote
shell and commands like ls/rm/cp
I don't think we should drop it since there may be some ssh server
that doesn't have sftp enabled, even if most of the time is the other
way around
it would be nice to port fish to libssh too, but the code is a real mess




More information about the kde-core-devel mailing list