Bug 333077 - Dolphin sais: Unable to request the SFTP subsystem. Make sure SFTP is enabled on the server.
Summary: Dolphin sais: Unable to request the SFTP subsystem. Make sure SFTP is enabled...
Status: RESOLVED UPSTREAM
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: sftp (show other bugs)
Version: 4.12.4
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-04-04 14:52 UTC by Kai Poeritz
Modified: 2024-03-19 08:21 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
See how it fails on the left, but works on the right an bottom (125.27 KB, image/png)
2014-04-04 14:55 UTC, Kai Poeritz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Poeritz 2014-04-04 14:52:03 UTC
I use dolphin on a ArchLinux client to connect to a Gentoo sshd server to serve files.
I connect like so in dolphins adress bar: sftp://kai@black.landsberger.poeritz.de/home/kai/data/
Dolphin errors out and sais: Unable to request the SFTP subsystem. Make sure SFTP is enabled on the server.
in a red bar right below the adress bar.

This ONLY occures when I connect an ArchLinux based client to a gentoo based sshd.
archlinux-client -> gentoo-sshd : FAIL
gentoo-client -> gentoo-sshd : OK
archlinux-client -> archlinux-sshd : OK

All systems are up to date

I tested other methos like "fish" for "sftp" and also command line sftp. All of these work fine.

Also, before the recent KDE update "archlinux-client -> gentoo-sshd" used to work as well. So I suspect dolphin in its newest version to cause this.



Reproducible: Always

Steps to Reproduce:
1. sftp://user@your-gentoo-based-sshd:/

Actual Results:  
I get the error message:
Unable to request the SFTP subsystem. Make sure SFTP is enabled on the server.

Expected Results:  
I should be presented my remote fs.
Comment 1 Kai Poeritz 2014-04-04 14:55:40 UTC
Created attachment 85956 [details]
See how it fails on the left, but works on the right an bottom
Comment 2 Emmanuel Pescosta 2014-04-04 14:57:37 UTC
Thanks for the bug report!

This is a bug in KIO, I'll reassign it.
Comment 3 Kai Poeritz 2014-04-04 15:14:47 UTC
The sshd on the gentoo server is:
OpenSSH_6.6p1-hpn14v4, OpenSSL 1.0.1f 6 Jan 2014

The ArchLinux client gets updated on a daily basis. And prior versions of dolphin/KIO used to work just fine
Comment 4 Andreas Schneider 2014-04-11 08:07:07 UTC
Thanks for the bug report, but please provide detailed information:

http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp
Comment 5 Dawit Alemayehu 2014-11-28 16:57:12 UTC
Is this still an issue? If so, can you please provide the information requested in comment #4.
Comment 6 Andrew Crouthamel 2018-09-25 03:37:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-10-27 02:48:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 8 adr.fantini 2018-12-20 22:23:11 UTC
I can confirm this happening for me too, also from Arch.
dolphin 18.12.0-1
libssh 0.8.5-1 (both client and server)
libssh2 1.8.0-3 (both client and server)
openssh-hpn-git 7.5.P1.r74.ga0c37a72-2 (server)
/etc/ssh/sshd_config https://pastebin.com/F0JzfnBQ

SSH (fish://) works, sftp does not (both with the main user and the sftp chroot user called readonly).

I have tried following https://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp#Logging
but I get no output, even after running kdeinit5
Comment 9 adr.fantini 2018-12-20 22:30:48 UTC
This works if using 
openssh 7.9p1-1
instead of 
openssh-hpn-git 7.5.P1.r74.ga0c37a72-2
on the server
Comment 11 Andreas Schneider 2024-03-19 08:21:54 UTC
I think this has been fixed in libssh.