Bug 314616 - sftp connection troubles when asking for password
Summary: sftp connection troubles when asking for password
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: sftp (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 17:58 UTC by Werner Meyer
Modified: 2013-11-18 13:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
logging for kio_sftp using krusader (1) copy file with <F5> failed; (2) copy file with drag'n'drop worked fine (8.00 KB, text/x-log)
2013-03-22 06:16 UTC, Christian Heller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Meyer 2013-02-07 17:58:10 UTC
I login from opensuse 10.3 gnome-terminal via 
ssh -X 
on another computer.
There I do run 
krusader &
(krusader 2.0.0, kde 4.8.5 from opensuse 12.2)

I open network-connection with sftp back to my opensuse10.3-computer.
I can login.
When I want to copy a file from 12.2 to 10.3, I am asked for password again. I put the right password, but there appears: 
„Authentication - KDE Deamon (auf...) 
Incorrect username or password  Do you want to retry?“
So I cannot copy.

When I use fish instead of sftp, it works, but the copied file loses its original time and gets time from the moment, when I copied it instead.
(btw. Thats why I dont use krusader 1.80.0 from opensuse10.3 - this version also doesn't save original time)

Reproducible: Always
Comment 1 Vlad 2013-02-08 16:01:29 UTC
Confirm. Same problem here Krusader 2.4.0-beta3 "Single Step" Kde 4.8.5 on Fedora16. Ftp works fine but copying any file from remote machine to local via sftp asks for remote machine username and password and always results to:
Incorrect username or password  Do you want to retry?

How can i test/debug it in order to address the problem?
Comment 2 Jan Lepper 2013-02-28 11:00:58 UTC
How do you open the nework connection - via Tools->'New Net Connection'  or by entering the adress into the adress bar ?
Comment 3 Vlad 2013-03-01 13:41:59 UTC
personally I do ctrl+n choosing there sftp, enter address login and password. It shows files and directories listing as expected but if trying to copy any file to local filesystem it requests login again and even if login/pass is correct it says login failed and requesting login/pass again.
Comment 4 Vlad 2013-03-01 13:49:08 UTC
Just for information I am currently trying Sabayon Linux (based on Gentoo). And Krusader here works like a charm. Even sftp connection. All the differences what i can see here is different KDE version. 
Sabayon:
Krusader
Version 2.4.0-beta3 "Single Step"
Using KDE Development Platform 4.9.5

Fedora16:
Krusader
Version 2.4.0-beta3 "Single Step"
Using KDE Development Platform 4.8.5

Probably this is something more related to KDE rather then Krusader, not sure
Comment 5 Jan Lepper 2013-03-01 14:24:15 UTC
On Fri, 01 Mar 2013 13:49:08 +0000
Vlad <code.geeks1@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=314616
> 
> --- Comment #4 from Vlad <code.geeks1@gmail.com> ---
> Just for information I am currently trying Sabayon Linux (based on
> Gentoo). And Krusader here works like a charm. Even sftp connection.
> All the differences what i can see here is different KDE version. 
> Sabayon:
> Krusader
> Version 2.4.0-beta3 "Single Step"
> Using KDE Development Platform 4.9.5
> 
> Fedora16:
> Krusader
> Version 2.4.0-beta3 "Single Step"
> Using KDE Development Platform 4.8.5
> 
> Probably this is something more related to KDE rather then Krusader,
> not sure
> 

Can you reproduce it with Dolphin/Konqueror ?
In that case it's definitely not a Krusader bug.
Comment 6 Vlad 2013-03-01 22:09:01 UTC
Yep, looks like this is KDE bug. At least I can reproduce it in Dolphin
Comment 7 Jan Lepper 2013-03-03 21:04:23 UTC
Since it only happens with sftp -> moving to kio/sftp.
Comment 8 Andreas Schneider 2013-03-14 06:47:13 UTC
This could be http://git.reviewboard.kde.org/r/109290/
Comment 9 Christian Heller 2013-03-14 15:33:06 UTC
Confirm. Cannot copy from local to remote via sftp in "krusader".
Strangely, when dragging and dropping the file, copying works.

What I miss most since months is synchronisation in krusader.
It doesn't work because of this login-password-problem.

I am using Debian testing (krusader 1:2.3.0~beta1-1+wheezy3),
but have also updated the package (1:2.4.0~beta1+git76+de1ea35-1.1).
Neither works.
Comment 10 Andreas Schneider 2013-03-20 16:42:38 UTC
Can you please create and add a log file of the problem:

http://techbase.kde.org/Development/Tutorials/Debugging/Debugging_IOSlaves/Debugging_kio_sftp
Comment 11 Christian Heller 2013-03-22 06:16:10 UTC
Created attachment 78285 [details]
logging for kio_sftp using krusader (1) copy file with <F5> failed; (2) copy file with drag'n'drop worked fine

logging for kio_sftp
using krusader to copy a file from local to remote via sftp
(1) copy file with <F5> failed
(2) copy file with drag'n'drop worked fine
Comment 12 Andreas Schneider 2013-05-29 06:05:12 UTC
kio_sftp(30899) sftpProtocol::openConnection: Keyboard interactive authentication failed:  "Received SSH_MSG_DISCONNECT: 33554432:Too many authentication failures for cheller2"

Did you enter a wrong user/password?
Comment 13 Christian Heller 2013-05-29 07:29:10 UTC
Just tried again. Same problem as before.
Using krusader to copy a file from local to remote via sftp:

(1) copy file with <F5> failed with message:
"Incorrect username or password  Do you want to retry?"

(2) copy file with drag'n'drop worked fine
If the login or password were wrong, then the drag'n'drop would not work.

Krusader
Version 2.4.0-beta3 "Single Step"
Using KDE Development Platform 4.8.4 (4.8.4)
Comment 14 Dawit Alemayehu 2013-11-18 04:41:59 UTC
Is this still an issue in KDE 4.10 or higher?
Comment 15 Christian Heller 2013-11-18 08:47:15 UTC
It works for me since some weeks.
I regularly update from Debian testing.
Current version of KDE is 4.10.5.
Can be closed in my opinion.
Thanks.
Comment 16 Dawit Alemayehu 2013-11-18 13:37:21 UTC
Based on comment #15.