[needs-packaging] libssh needs to be updated in order for kio-sftp to support ECDSA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libssh |
Won't Fix
|
Medium
|
|||
libssh (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Currently, when using dolphin to connect to a remote system over sftp, it will fail due to an issue with the host key. The problem is that ssh now uses ECDSA and the older version of libssh does not support that. There has not been a new official release of libssh, but the maintainer recommends packaging master to resolve this issue.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: libssh-4 0.5.3-1ubuntu1
ProcVersionSign
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon May 6 11:25:20 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-05-01 (5 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: libssh
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: needs-packaging |
Changed in libssh: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
Version: 4.6 (using KDE 4.6.2)
OS: Linux
With openssh version 5.8, ssh keys of type ECDSA have been implemented.
When I first connect to an SSH server with ECDSA public keys, this key is added to known_hosts, and consequently it must be verified in all subsequent connections.
KDE's KIO_SFTP fails to verify such keys, while the ssh command line program works perfectly.
The workaround is to add a different ssh host key to the known_hosts file. This could be achieved by making the first connection to the SSH server specifying a different host key algorithm: ms=ssh- rsa root@host
$> ssh -o HostKeyAlgorith
After doing this, everything works as expected.
Reproducible: Always
Steps to Reproduce: HOST:test.txt .
1. Connect for the first time to a SSH server with openssh version >= 5.8.
2. Copy a file with the sftp kio slave:
$> kioclient copy sftp://
Actual Results:
Host key fails verification
Expected Results:
The file should be copied from the remote server