Bug 470991

Summary: kio-sftp tries to use old ssh key algorithms
Product: [KDE Neon] neon Reporter: Joshua J. Kugler <joshua>
Component: generalAssignee: Neon Bugs <neon-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: jr, neon-bugs-null, orangewinds, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Joshua J. Kugler 2023-06-13 21:22:19 UTC
SUMMARY
I'm trying to open a file on a remote host using sftp://. When I do so, I get this:

kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519], client [ssh-dss]

STEPS TO REPRODUCE
1. Try to connect to a modern host with kio-sftp.

OBSERVED RESULT
Connection error:

kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519], client [ssh-dss]

EXPECTED RESULT

Connection with modern ssh key algorithm.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon
(available in About System)
KDE Plasma Version: 23.04.1
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Comment 1 Harald Sitter 2023-07-05 13:09:02 UTC
Neon's libssh is outdated.
Comment 2 Joshua J. Kugler 2024-03-06 01:34:12 UTC
Still a problem with Neon/Plasma 6.
Comment 3 Aranjedeath 2024-06-21 00:48:16 UTC
Is this fixed in the 0.10.x branch of libssh? We will get that with noble.
Comment 4 Joshua J. Kugler 2024-12-13 17:53:35 UTC
This seems to be fixed. I'm on latest Neon (based on 24.04) and I can connect to Ubuntu 24.04, Ubuntu 22.04, Rocky Linux 9 and Macintosh machines.
Comment 5 Joshua J. Kugler 2025-02-03 22:09:02 UTC
Seeing as this is working fine in 24.04, I'll close this.