Re: [opensuse-kde3] sftp protocol fails

Is there any public SFTP servers on the net? Sorry, I have not caught your idea. Would you like to specify your question? Which net? What do you mean "public"?
I am using local sshd on my computer, as I have been using it for ages. Besides, the sftp protocol works perfectly under the KDE3 applications at another computer on my home network, which still stay with OpenSUSE 11.2 (except for connecting the upgraded computer). Michael
On Monday 02 May 2011 19:26:15 Michael Lashkevich wrote:
after the upgrade to OpenSUSE 11.4 (from 11.2) the connection via the sftp protocol to any host always fails under konqueror and krusader. When I type "sftp://some.location", I obtain an error message "Connection to ssh error" (sorry, it is a reverse translation from Russian). The ssh/sftp (from openssh) connection works perfectly under a console emulator. As a workaround I use the fish protocol, but it is much less stable and often freezes a transmission. Is there any public SFTP servers on the net?
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Monday 02 May 2011 20:34:37 Michael Lashkevich wrote:
Sorry, I have not caught your idea. Would you like to specify your question? Which net? What do you mean "public"?
I want to reproduce it myself but cannot without an sftp server to which I could connect. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

Tuesday 03 May 2011 On Tue, 3 May 2011 14:36:33 +0400 Ilya Chernykh wrote:
I want to reproduce it myself but cannot without an sftp server to which I could connect.
sudo /etc/init.d/sshd start sftp localhost BTW, sftp server doesn't work for me in 11.3. kent@lazy ~ % sftp localhost Password: Connection closed [1] 20407 exit 255 sftp localhost kent@lazy ~ % ssh localhost Password: Last login: Tue May 3 15:20:22 2011 from gate.home Have a lot of fun... From remote machine: kent@gate ~ % sftp lazy Connecting to lazy... Password: Connection closed zsh: exit 255 sftp lazy kent@gate ~ % ssh lazy Password: Last login: Tue May 3 15:24:13 2011 from localhost Have a lot of fun... And I can connect via sftp to remote hosts (Debian and FreeBSD) with Krusader. openSUSE 11.3. -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

And what about sftp:/? Are there any ideas? On 03.05.2011 15:36, Kyrill Detinov wrote:
Tuesday 03 May 2011
On Tue, 3 May 2011 14:36:33 +0400 Ilya Chernykh wrote:
I want to reproduce it myself but cannot without an sftp server to which I could connect.
sudo /etc/init.d/sshd start sftp localhost
BTW, sftp server doesn't work for me in 11.3.
kent@lazy ~ % sftp localhost Password: Connection closed [1] 20407 exit 255 sftp localhost
kent@lazy ~ % ssh localhost Password: Last login: Tue May 3 15:20:22 2011 from gate.home Have a lot of fun...
From remote machine:
kent@gate ~ % sftp lazy Connecting to lazy... Password: Connection closed zsh: exit 255 sftp lazy
kent@gate ~ % ssh lazy Password: Last login: Tue May 3 15:24:13 2011 from localhost Have a lot of fun...
And I can connect via sftp to remote hosts (Debian and FreeBSD) with Krusader. openSUSE 11.3.
-- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

Dear Ilya, are you thinking the sftp:// problem to be solved? The situation has not been changed with updates since my first message (the sftp:// does not work, while fish:// freezes on large files). (By the way, there is no such problem with the kde4 version of the krusader/konqueror, though I prefer to use the kde3's krusader.) Michael -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Monday 13 June 2011 01:48:28 Michael Lashkevich wrote:
are you thinking the sftp:// problem to be solved? The situation has not been changed with updates since my first message (the sftp:// does not work, while fish:// freezes on large files). (By the way, there is no such problem with the kde4 version of the krusader/konqueror, though I prefer to use the kde3's krusader.)
I do not know how to solve it and where is the cause. If somebody writes a patch, I will add it. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

But it had worked up to OpenSUSE 11.2, at least. Maybe it is a result of some relatively recent patch, is not it? How is it possible to trace out the cause? Michael On 13.06.2011 02:33, Ilya Chernykh wrote:
On Monday 13 June 2011 01:48:28 Michael Lashkevich wrote:
are you thinking the sftp:// problem to be solved? The situation has not been changed with updates since my first message (the sftp:// does not work, while fish:// freezes on large files). (By the way, there is no such problem with the kde4 version of the krusader/konqueror, though I prefer to use the kde3's krusader.)
I do not know how to solve it and where is the cause. If somebody writes a patch, I will add it. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Monday 13 June 2011 11:38:18 Michael Lashkevich wrote:
But it had worked up to OpenSUSE 11.2, at least. Maybe it is a result of some relatively recent patch, is not it?
Packages for 11.2 and 11.3 and 11.4 build from the same source.
How is it possible to trace out the cause?
If it so easy, trace it. The OBS is open, you don't need to have special permission to access the sources, build logs and ability to build yourself. I do not use sftp and do not need this feature. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

How is it possible to trace out
the cause?
If it so easy, trace it. The OBS is open, you don't need to have special I never said that it is easy. I am not a programmer (though I know something on C/C++) and just asked to help me with this.
As I understand, the problem is somewhere in the kio_sftp library. Probably, the difference between 11.4 and 11.2 is in the different versions of the openssh package. In particular, I see that the syntax of the sftp command is slightly different in the two versions. Unfortunately, I failed to downgrade my openssh (some libraries needed) to check it explicitly. My first question is if it is possible to trace out the output of the sftp command called (if called) by kio_sftp? Or to see the explicit form of the command? My second question now is where could I see the sources of kio_sftp? (Sorry, I am not yet so familiar with the OBS.) Michael -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On 06/13/2011 02:38 AM, Michael Lashkevich wrote:
But it had worked up to OpenSUSE 11.2, at least. Maybe it is a result of some relatively recent patch, is not it? How is it possible to trace out the cause?
Michael
On 13.06.2011 02:33, Ilya Chernykh wrote:
On Monday 13 June 2011 01:48:28 Michael Lashkevich wrote:
are you thinking the sftp:// problem to be solved? The situation has not been changed with updates since my first message (the sftp:// does not work, while fish:// freezes on large files). (By the way, there is no such problem with the kde4 version of the krusader/konqueror, though I prefer to use the kde3's krusader.)
I do not know how to solve it and where is the cause. If somebody writes a patch, I will add it.
The problem is that the openssl update broke the sftp kioslave (in source: /kdebase/kioslave/sftp -- ksshprocess.cpp I think) It broke with the October 2010 update. I have the openssl version number that broke it somewhere, but I can't find it at the moment. There is a complete sftp kioslave rewrite being discussed for trinity, but it is unclear when it might be ready. The existing opensuse kde3 codebase needs to be patched to fix it in the mean time. see: http://lists.opensuse.org/opensuse-kde3/2011-03/msg00116.html I have no experience at all in this area, or I would give it a go. I have been chasing this issue since October 2010. We need somebody that has experience in debugging the kde3 error messages to help figure out just exactly what is failing. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Monday 02 May 2011 20:34:37 Michael Lashkevich wrote:
I am using local sshd on my computer, as I have been using it for ages. Besides, the sftp protocol works perfectly under the KDE3 applications at another computer on my home network, which still stay with OpenSUSE 11.2 (except for connecting the upgraded computer).
I suggest you to try fish://some.location instead of sftp://some.location -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

I suggest you to try fish://some.location instead of sftp://some.location I would try to use fish: repeatedly, but the transfers often (nearly every time) stalled and froze (in contrast to that under Midnight Commander).
I guess, the sftp: protocol has been turned off while compiling some component of kde3, hasn't it? Michael On 11.05.2011 09:50, Ilya Chernykh wrote:
On Monday 02 May 2011 20:34:37 Michael Lashkevich wrote:
I am using local sshd on my computer, as I have been using it for ages. Besides, the sftp protocol works perfectly under the KDE3 applications at another computer on my home network, which still stay with OpenSUSE 11.2 (except for connecting the upgraded computer).
I suggest you to try fish://some.location instead of sftp://some.location -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org

On Wednesday 11 May 2011 15:11:44 Michael Lashkevich wrote:
I would try to use fish: repeatedly, but the transfers often (nearly every time) stalled and froze (in contrast to that under Midnight Commander).
I guess, the sftp: protocol has been turned off while compiling some component of kde3, hasn't it?
I cannot confirm this. The sftp support builds well, so there may be another cause of the problem. -- To unsubscribe, e-mail: opensuse-kde3+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kde3+help@opensuse.org
participants (4)
-
David C. Rankin
-
Ilya Chernykh
-
Kyrill Detinov
-
Michael Lashkevich