Version: 3.0.4 (using KDE 3.0.4) Installed from: Mandrake Linux Cooker i586 - Cooker Compiler: gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) OS: Linux (i686) release 2.4.19-16mdk I have two systems here with a Mandrake 9.0 installed. Both have running sshd. I can use ssh, scp & sftp on the command line without any problem between both systems. But the sftp io slave in konqueror doesnt work at all. Example: I insert "sftp://192.168.0.2" into the location field and press return. A dialog pops up which askes for my username & password. After I input them and press "OK" the Konqueror gear wheels are spinning for a minute or two and then a page appears reading: ---- "An error occured while loading sftp://192.168.0.2: Could not connect to host" ---- Well, there must be something wrong here ...
What version of the ssh client and server is on both machines? What happens if you try using the sftp slave to connect to the localhost, as in sftp://localhost
The ssh is the one wich came with Mandrake 9.0, which is openssh-3.4p1-4mdk plus client and server packet. If I use sftp://localhost the username/password dialog appears and after I put in the correct information my home directory appears. In short -> it works. But I hardly use sftp locally :-)
I have the same problem except I can't even connect to sftp://localhost. After waiting for a minute or so, a dialog pops up saying it can't communicate with ssh. After I click okay, it gives the above error: "An error occured while loading sftp://localhost: Could not connect to host" Adam
Oh, I forgot to mention that I'm using gentoo with kde 3.1.1a, openssh 3.6.1_p1, and openssl-0.9.6i-r2. Adam
This is also noted as a bug with gentoo: http://bugs.gentoo.org/show_bug.cgi?id=19425 More information from this bug report: Since upgrading to new openssh-3.6_p1 I haven't been able to use KDE's sftp:// kioslave. Today I really needed that functionality back so I downgraded openssh to 3.5_p1-r1 and it all works all happily again. I think I traced it down to the way kde starts up the ssh process -- the parameters no longer work the same for newer openssh. It seems KDE starts ssh with parameters like -o ForwardX11 no And the openssh folks changed to to require an "=" character -- i.e. -o ForwardX11=no
sftp doesnt work in debian unstable either. Seems like it has to do with a change between OpenSSH 3.5 and 3.6 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188089 summary: debug("ssh-userauth2 successful: method %s", authctxt.method->name); debug("Authentication succeeded (%s).", authctxt.method->name); kiosftp looks for ssh-userauth2 successful: but the newer openssh's are sending Authentication succeeded.
sshconnect2.c I just tested the above (replacing "Authentication succeeded (%s)." with "ssh-userauth2 successful: method %s" in sshconnect2.c and that fixed this issue. I find it terribly inconvenient to work without the sftp kioslave, it's totally changed the way I work and saves me a LOT of time. I'm VERY happy with it! As suggested on the Debian list maybe the developer can talk to someone at openbsd and see if something can be put in openssh to make this depend on something other than debug messages? Thanks, Jeroen.
Try fish. It works in any SSH, without need for external subsystem support.
Confirmed using kde3.1.1a / gentoo with openssh3.6 downgraded openssh to 3.5_p1 and everything works fine again
upgraded to kde 3.1.2, and this time openssh 3.5_p1 doesn't work; upgrade openssh to 3.6 fixes it.
KDE-3.1.3 appears to fix this bug. Debian unstable KDE-3.1.2 + openssh-3.6 -> Mandrake-9.0 + openssh-3.5 doesn't work upgrade to KDE-3.1.3 and it works
In my KDE 3.1.3, this works for me at least for localhost.
I can personally confirm, that openssh-3.6.1 works with KDECVS on Debian unstable. Are there still problems with openssh-3.5.x or other versions? If noone responds, then this bug may be closed.
Mandrake 9.1, KDE 3.1.4, openssh-3.6.1 works? It does not. Downgrade openssh to 3.5, works it does.
Shall we try to identify versions correctly? KDE with Mandrake 9.1 Bamboo is 3.1.0. It would appear from the reports that openSSH 3.5 works with KDE <= 3.1.1. OpenSSH 3.6 works with KDE >= 3.1.1.
Has anyone tried the 3.2 beta2 releases ? It should work properly there. I cannot test it against 3.6.1 since I have no machine that has version of SSH, but it works fine against 3.4.1. If someone has a machine with 3.6.1 that I can test against, I will be glad to try it...
Cannot duplicate this the current CVS version. Please feel free to re-open if the problem is still present in the upcoming 3.2 release.