← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1450085] Re: kio_sftp can't connect to hosts after OpenSSH 6 has cached their ECDSA key

 

I started with a fresh ~/.ssh/known_hosts and first tried connecting to
a a remote machine using SFTP in Dolphin. The record this wrote to
~/.ssh/known_hosts begins with "[hostname]:port ssh-rsa". Apparently,
SFTP in Kubuntu 15.04 does not handle ECDSA keys, which are what SSH
creates by default. However, SSH does seem to handle RSA keys, I was
able to connect to the remote machine with the key.

The workaround is to first connect using SFTP to any remote machine if
you need to connect to it using both SSH and SFTP.

Incidentally, I did build and install libssh from the latest source (v.
0.7.1), which made no difference. The libssh.org site
(https://www.libssh.org/documentation/) says, "KDE uses libssh to
implement the sftp module to allow secure file transfers between
different computers." That doesn't appear to be true at least in Kubuntu
15.04.

More on this bug here: https://bugs.kde.org/show_bug.cgi?id=274170

** Bug watch added: KDE Bug Tracking System #274170
   https://bugs.kde.org/show_bug.cgi?id=274170

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to kde-runtime in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1450085

Title:
  kio_sftp can't connect to hosts after OpenSSH 6 has cached their ECDSA
  key

Status in kde-runtime package in Ubuntu:
  Confirmed

Bug description:
  This seems to be the KDE bug 270322 -
  https://bugs.kde.org/show_bug.cgi?id=270322, which is supposedly fixed
  upstream, in libssh, whose version 0.6.0 supposed to have this bug
  fixed.

  Ubuntu 15.04 ships libssh 0.6.3, but we still have the behavior that
  using Dolphin to access SFTP URLs, after using OpenSSH to cache the
  host's ECDSA key result in "The host key for this server was not
  found, but another type of key exists." error and inability to
  connect.

  The workaround details in the KDE bug works, so it seems like the same
  problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-runtime/+bug/1450085/+subscriptions


References