Why is SFTP not supported in KDE4's "Network Folders"?

Paul Hartman paul.hartman+gentoo at gmail.com
Thu Oct 29 20:45:53 GMT 2009


On Thu, Oct 29, 2009 at 3:19 PM, Nikos Chantziaras <realnc at arcor.de> wrote:
> On 10/29/2009 09:52 PM, Paul Hartman wrote:
>> On Thu, Oct 29, 2009 at 2:46 PM, Nikos Chantziaras<realnc at arcor.de>  wrote:
>>> I'm using KDE 4.3.2 on Gentoo AMD64.
>>>
>>> In Dolphin, I click "Places->Network".  There, I start the "Add Network
>>> Folder" wizard.  It gives me a choice between "WebFolder (webdav)",
>>> "FTP", "Microsoft(R) Windows(R) network drive" and "Secure shell (ssh)".
>>>
>>> There's no "SFTP" option, so "ssh" seems the correct choice.  However,
>>> when I go ahead and fill all the info, "fish://" is used instead of
>>> "sftp://".  Trying to manually change it into "sftp://" results in an
>>> error message: "Creating symlinks is not supported with protocol remote."
>>>
>>> Is the omission of SFTP on purpose or just an oversight?  "fish" is not
>>> a substitute for SFTP because it tried to login to the remote server
>>> using a password while I'm using SSH public/private keys.
>>
>>
>> According to this bug sftp should work:
>>
>> http://bugs.kde.org/show_bug.cgi?id=164149
>
> This is unrelated to Network Folders.  SFTP does work in general, just
> *not* in Network Folders, which is the problem my post is about :)

Oops, sorry about that. Someday I will read entire messages before replying. :)

It looks like Kubuntu has a patch to maybe add SFTP in that place?
(untested by me)

Index: kdebase-runtime-4.2.0/knetattach/knetattach.cpp
===================================================================
--- kdebase-runtime-4.2.0.orig/knetattach/knetattach.cpp	2009-01-01
12:55:21.000000000 -0330
+++ kdebase-runtime-4.2.0/knetattach/knetattach.cpp	2009-01-22
21:19:06.000000000 -0330
@@ -181,7 +181,7 @@
     KConfig config("kio_fishrc");
     KConfigGroup cg(&config, _host->text().trimmed());
     cg.writeEntry("Charset",
KGlobal::charsets()->encodingForName(_encoding->currentText()));
-	url.setProtocol("fish");
+	url.setProtocol("sftp");
 	url.setPort(_port->value());
     } else if (_type == "FTP") {
 	url.setProtocol("ftp");
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list