LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-13-2010, 10:37 AM   #1
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
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?
 
Old 02-15-2010, 02:48 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,231

Rep: Reputation: Disabled
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
 
Old 02-15-2010, 12:06 PM   #3
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Original Poster
Rep: Reputation: 27
Grrrrr, sounds very poor - thanks Eric. I'll use fish in the meantime ...
 
Old 03-16-2010, 12:24 PM   #4
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
Quote:
Originally Posted by Alien Bob View Post
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.
 
Old 06-22-2010, 01:16 AM   #5
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 237

Rep: Reputation: 58
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.
 
Old 06-22-2010, 02:18 AM   #6
TL_CLD
Member
 
Registered: Sep 2006
Posts: 342

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

It works a charm.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: A Quick and Easy Guide to KDE KIO slaves LXer Syndicated Linux News 0 08-18-2009 10:21 PM
KDE 3.5.6 doesn't start (problem with Kio aleksanteri Linux From Scratch 0 06-24-2007 08:03 AM
Modifying KIO slaves in KDE mahdif Linux - Software 0 09-20-2006 09:05 AM
KDE Kio slave powadha Debian 12 04-27-2006 01:04 AM
KDE RSync IO/Slave? tisource Linux - Software 0 03-22-2005 11:51 AM


All times are GMT -5. The time now is 02:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration