Bug 346922 - After upgrading Kubuntu 14.10 > 15.04 network connections inside Dolphin did (partially) not work anymore
Summary: After upgrading Kubuntu 14.10 > 15.04 network connections inside Dolphin did ...
Status: RESOLVED DUPLICATE of bug 284867
Alias: None
Product: kio
Classification: Unmaintained
Component: sftp (other bugs)
Version First Reported In: 4.12.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andreas Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-29 22:10 UTC by Michael Scheffenacker
Modified: 2015-08-10 07:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheffenacker 2015-04-29 22:10:11 UTC
After upgrading Kubuntu 14.10 > 15.04 (and using Plasma 5) most of my old network did not work any more. They are all sftp connections but surprisingly a few of them still worked. The error massage on not working ones were something about a changing/nonexistent key/value.  Also setting up new connections with Add Network Folder was not possible, establishing the connection simply failed.

I came to the idea to delete the known_hosts file which apparently resolved the problems. Since the error is not there any more, I can not give the exact error messages (sorry for that).

Reproducible: Always

Steps to Reproduce:
1. Open network panel
2. Try to open a connection
3.
Comment 1 Michael Scheffenacker 2015-04-29 22:18:35 UTC
Additional Information: ssh from terminal always worked without any problem. This was one of the first things I tried after facing this issue, and I used each connection, I had saved in the Network Panel, multiple times since then, without any problems.
Comment 2 Frank Reininghaus 2015-04-30 17:00:27 UTC
Thanks for the bug report! I'll reassign to kio/sftp, whch is used to access sftp connections.
Comment 3 Andreas Schneider 2015-05-11 09:53:13 UTC

*** This bug has been marked as a duplicate of bug 284867 ***
Comment 4 X_Splinter 2015-08-01 19:02:11 UTC
(In reply to Michael Scheffenacker from comment #0)
> After upgrading Kubuntu 14.10 > 15.04 (and using Plasma 5) most of my old
> network did not work any more. They are all sftp connections but
> surprisingly a few of them still worked. The error massage on not working
> ones were something about a changing/nonexistent key/value.  Also setting up
> new connections with Add Network Folder was not possible, establishing the
> connection simply failed.
> 
> I came to the idea to delete the known_hosts file which apparently resolved
> the problems. Since the error is not there any more, I can not give the
> exact error messages (sorry for that).
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. Open network panel
> 2. Try to open a connection
> 3.

I have the exact same problem after I updated Kubuntu to 15.04
Comment 5 Andreas Schneider 2015-08-03 18:27:48 UTC
Is libssh on your ubuntu linked against gcrypt or openssl? Which version of libssh is on Ubuntu?
Comment 6 Michael Scheffenacker 2015-08-04 00:44:54 UTC
(In reply to Andreas Schneider from comment #5)
> Is libssh on your ubuntu linked against gcrypt or openssl? Which version of
> libssh is on Ubuntu?

how do I find that out?
Comment 7 Andreas Schneider 2015-08-04 16:34:40 UTC
I guess checking dependencies with dpkg ...
Comment 8 Michael Scheffenacker 2015-08-05 14:17:39 UTC
Sorry, I am afraid, I can not provide the best information. If you need anything else, I can search for it too. So far I got the following:

##### from dpkg: #####

>>
michael@platon:~$ dpkg --get-selections | grep ssh
ksshaskpass                                     install
libssh-4:amd64                                  install
libssh-gcrypt-4:amd64                           install
libssh2-1:amd64                                 install
openssh-client                                  install
sshfs                                           install
michael@platon:~$ dpkg --get-selections | grep gcrypt
libgcrypt11:amd64                               deinstall
libgcrypt11:i386                                deinstall
libgcrypt20:amd64                               install
libgcrypt20:i386                                install
libssh-gcrypt-4:amd64                           install

michael@platon:~$ sudo dpkg -l | grep ssh
ii  ksshaskpass                                   4:5.2.2-0ubuntu1                           amd64        interactively prompt users for a passphrase for ssh-add
ii  libssh-4:amd64                                0.6.3-3ubuntu3                             amd64        tiny C SSH library (OpenSSL flavor)
ii  libssh-gcrypt-4:amd64                         0.6.3-3ubuntu3                             amd64        tiny C SSH library (gcrypt flavor)
ii  libssh2-1:amd64                               1.4.3-4.1                                  amd64        SSH2 client-side library
ii  openssh-client                                1:6.7p1-5ubuntu1                           amd64        secure shell (SSH) client, for secure access to remote machines
ii  sshfs                                         2.5-1ubuntu1                               amd64        filesystem client based on SSH File Transfer Protocol

michael@platon:~$ sudo dpkg -l | grep gcry
rc  libgcrypt11:amd64                             1.5.4-2ubuntu1.1                           amd64        LGPL Crypto library - runtime library
rc  libgcrypt11:i386                              1.5.4-2ubuntu1.1                           i386         LGPL Crypto library - runtime library
ii  libgcrypt20:amd64                             1.6.2-4ubuntu2                             amd64        LGPL Crypto library - runtime library
ii  libgcrypt20:i386                              1.6.2-4ubuntu2                             i386         LGPL Crypto library - runtime library
ii  libssh-gcrypt-4:amd64                         0.6.3-3ubuntu3                             amd64        tiny C SSH library (gcrypt flavor)

<<



##### from apt: #####


>>
michael@platon:~$ apt-cache showpkg libssh-4
Package: libssh-4
Versions: 
0.6.3-3ubuntu3 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_main_binary-amd64_Packages
                  MD5: e2c4e41cba7b73a9a5447f06ce36e8a6
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_main_i18n_Translation-en
                  MD5: e2c4e41cba7b73a9a5447f06ce36e8a6


Reverse Depends: 
  libavformat-ffmpeg56,libssh-4 0.4.2
  libssh-4:i386,libssh-4 0.6.3-3ubuntu3
  libssh-4:i386,libssh-4 0.6.3-3ubuntu3
  yafc,libssh-4 0.6.1
  xbmc-bin,libssh-4 0.3.91
  x2goplugin,libssh-4 0.5.4-2~
  x2goclient,libssh-4 0.5.4-2~
  remmina-plugin-nx,libssh-4 0.3.91
  libguac-client-ssh0,libssh-4 0.3.91
  libcsync-plugin-sftp,libssh-4 0.3.91
  libavformat-ffmpeg56,libssh-4 0.4.2
  kio-extras,libssh-4 0.6.1
  hydra,libssh-4 0.3.91
  gsql-plugins,libssh-4 0.3.91
  gnugk,libssh-4 0.5.0
  remmina,libssh-4 0.6.1
  libssh-dev,libssh-4 0.6.3-3ubuntu3
  libssh-dbg,libssh-4 0.6.3-3ubuntu3
Dependencies: 
0.6.3-3ubuntu3 - libc6 (2 2.15) libgssapi-krb5-2 (2 1.12.1+dfsg-2) libssl1.0.0 (2 1.0.0) zlib1g (2 1:1.1.4) multiarch-support (0 (null)) libssh-4:i386 (3 0.6.3-3ubuntu3) libssh-4:i386 (6 0.6.3-3ubuntu3) 
Provides: 
0.6.3-3ubuntu3 - 
Reverse Provides:

michael@platon:~$ apt-cache showpkg libssh2-1
Package: libssh2-1
Versions: 
1.4.3-4.1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_universe_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: 
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_universe_binary-amd64_Packages
                  MD5: a72806365acab9f7b0057c7e13cb7b14
 Description Language: de
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_universe_i18n_Translation-de
                  MD5: a72806365acab9f7b0057c7e13cb7b14
 Description Language: en
                 File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_vivid_universe_i18n_Translation-en
                  MD5: a72806365acab9f7b0057c7e13cb7b14


Reverse Depends: 
  libssh2-1:i386,libssh2-1 1.4.3-4.1
  libssh2-1:i386,libssh2-1 1.4.3-4.1
  zabbix-server-pgsql,libssh2-1 1.0
  zabbix-server-mysql,libssh2-1 1.0
  zabbix-proxy-sqlite3,libssh2-1 1.0
  zabbix-proxy-pgsql,libssh2-1 1.0
  zabbix-proxy-mysql,libssh2-1 1.0
  vlc-nox,libssh2-1 1.2
  python-libssh2,libssh2-1 1.0
  php5-ssh2,libssh2-1 1.2.9
  mlterm-common,libssh2-1 1.2.8
  medusa,libssh2-1 1.0
  mc,libssh2-1 1.2.5
  libssh2-1-dev,libssh2-1 1.4.3-4.1
  libssh2-1-dbg,libssh2-1 1.4.3-4.1
  libpam-sshauth,libssh2-1 1.2.8
  libnet-ssh2-perl,libssh2-1 1.2.9
  libgit2-22,libssh2-1 1.2.3
  kftpgrabber,libssh2-1 1.0
Dependencies: 
1.4.3-4.1 - libc6 (2 2.14) libgcrypt20 (2 1.6.1) zlib1g (2 1:1.1.4) multiarch-support (0 (null)) libssh2-1:i386 (3 1.4.3-4.1) libssh2-1:i386 (6 1.4.3-4.1) 
Provides: 
1.4.3-4.1 - 
Reverse Provides: 
<<

Here in the last »dependencies« a few lines above you find »libgcrypt20 (2 1.6.1)«, no open ssl so far. Tell me if you need further information.
Comment 9 Andreas Schneider 2015-08-10 07:48:22 UTC
Libssh is built using gcrypt which doesn't support ECDSA keys. Ubuntu is to blame and not kio_sftp nor libssh ...