LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Sftp KIO Slave in KDE 4.4 (http://www.linuxquestions.org/questions/slackware-14/sftp-kio-slave-in-kde-4-4-a-788896/)

rpedrica 02-13-2010 11:37 AM

Sftp KIO Slave in KDE 4.4
 
I noticed that the sftp kio slave in konq in alen bob's kde 4.4 wasn't working so did some digging and found that it's dependant on libssh now - I presume this hasn't been added yet to slack-current. I know fish is available but anyone else got comment on this?

Alien Bob 02-15-2010 03:48 AM

Indeed libssh is required for the sftp kio-slave. I decided not to add libssh as a dependency because of the comments I found about the quality of its code:
Code:

Hmm, I hadn't come across  libssh  before. To be honest I'm not really
all that impressed with the code quality of libssh. There is a serious
lack of basic error checking in system calls & libc calls they make,
in particular no malloc() call is ever checked for failure. It is
hardcoded to use IPv4 for sockets. It is not const-correct in its
API usage, or its exposed public API.

Perhaps this library will mature with the passing of time, but since it will be responsible for your encrypted sftp connections in KDE, I decided to skip its addition for now.

Eric

rpedrica 02-15-2010 01:06 PM

Grrrrr, sounds very poor - thanks Eric. I'll use fish in the meantime ...

nonamenobody 03-16-2010 01:24 PM

Quote:

Originally Posted by Alien Bob (Post 3864033)
Indeed libssh is required for the sftp kio-slave. I decided not to add libssh as a dependency because of the comments I found about the quality of its code:
Code:

Hmm, I hadn't come across  libssh  before. To be honest I'm not really
all that impressed with the code quality of libssh. There is a serious
lack of basic error checking in system calls & libc calls they make,
in particular no malloc() call is ever checked for failure. It is
hardcoded to use IPv4 for sockets. It is not const-correct in its
API usage, or its exposed public API.

Perhaps this library will mature with the passing of time, but since it will be responsible for your encrypted sftp connections in KDE, I decided to skip its addition for now.

Eric

Eric, interesting choice of quote - looking at the mailing list thread you linked to, the author of that quote withdrew his objections about a week later (in April last year), stating:
Code:

I've taken a look at their current SVN repo, and it looks very
much improved in quality, so I've no objections to its use now.


smoooth103 06-22-2010 02:16 AM

So is there any chance libssh will be added soon? I would prefer to use sftp instead of fish. I think fish is just as bad if not worse -- seems the author withdrew objections after reviewing the current SVN.

TL_CLD 06-22-2010 03:18 AM

I wanted sftp KIO support, so I installed libssh from slackbuilds.org and then recompiled KDE.

It works a charm. :)


All times are GMT -5. The time now is 06:01 PM.