Can't access phone filesystem with KDE Connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Connect - Desktop (Linux) |
Fix Released
|
Medium
|
|||
kdeconnect (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Hello,
if I try to use KDE Connect on Kubuntu Focal, I can't access the phone's filesystem anymore.
If I click on the phone icon in Dolphin, I get the following error message:
"Error when accessing filesystem. sshfs finished with exit code 1."
(see also attached screenshot)
This happens the same way on two different phones (BQ Aquaris X, Google Nexus 4), both phones have KDE Connect 1.13.7 from F-Droid repository installed.
What I've tried to fix this:
- Unpair/Pair the phone
- Deleting ~/.config/
- Test in a different, pristine installation of Kubuntu Focal
Neither of that helped.
Before Focal I used Kubuntu Eoan with Kubuntu Backports PPA enabled. On Eoan, I could access the filesystems of both phones without any problem, so this seems to be somehow related to a change in Focal.
Kind regards,
Jan
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: kdeconnect 1.4-0ubuntu4
ProcVersionSign
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu24
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Apr 10 15:05:09 2020
InstallationDate: Installed on 2020-04-08 (2 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200408)
SourcePackage: kdeconnect
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in kdeconnect-desktop: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in kdeconnect (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in kdeconnect-desktop: | |
status: | Confirmed → Fix Released |
SUMMARY
The Android app offers ssh key exchange using diffie- hellman- group14- sha1 and diffie- hellman- group1- sha1. In the newest version of openssh the former was removed from the defaults, the latter has been disabled for a while. This results in kdeconnect not being able to create a connection using sshfs.
STEPS TO REPRODUCE
1. Click on your phone icon in dolphin
OBSERVED RESULT
Error message
EXPECTED RESULT
A connection to the phones file system
SOFTWARE/OS VERSIONS
App on Android version 1.13.7
kdeconnect 1.4.1 on Linux
ADDITIONAL INFORMATION
kdeconnectd[1119]: kdeconnect. plugin. sftp: Mount device: "XXX" plugin. sftp: Created mounter plugin. sftp: Starting loop to wait for mount plugin. sftp: Mount device: "XXX" plugin. sftp: Unmount QObject(0x0) "::ffff: 192.168. 178.29" ) to IPv4 QHostAddress( "192.168. 178.29" ) plugin. sftp: Starting process: "sshfs kdeconnect@ 192.168. 178.29: / /run/user/ 1000/719fb2d6a3 1cfd4d -p 1739 -s -f -F /dev/null -o IdentityFile= /home/XXX/ .config/ kdeconnect/ privateKey. pem -o StrictHostKeyCh ecking= no -o UserKnownHostsF ile=/dev/ null -o HostKeyAlgorith ms=+ssh- dss -o uid=1000 -o gid=1000 -o reconnect -o ServerAliveInte rval=30 -o password_stdin" aptor: Cannot relay signal SftpPlugin: :packetReceived (NetworkPacket) : Unregistered input type in parameter list: NetworkPacket plugin. sftp: Process started plugin. sftp: "XXX" "Remote filesystem mounted at /run/user/ 1000/719fb2d6a3 1cfd4d" plugin. sftp: stdout: "Unable to negotiate with 192.168.178.29 port 1739: no matching key exchange method found. Their offer: diffie- hellman- group14- sha1,diffie- hellman- group1- sha1\r\ n" plugin. sftp: stdout: "read: Connection reset by peer\n" plugin. sftp: Process failed (exit code: 1 ) plugin. sftp: Unmount KProcess( 0x55837cbda9d0) 1000-719fb2d6a3 1cfd4d. mount: Succeeded. 1000-719fb2d6a3 1cfd4d. mount: Succeeded. plugin. sftp: Destroy mounter plugin. sftp: Unmount QObject(0x0)
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.core: Converting IPv6 QHostAddress(
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: QDBusAbstractAd
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kernel: fuse: init (API version 7.31)
kernel: *** VALIDATE fuse ***
kernel: *** VALIDATE fuse ***
systemd[1]: Mounting FUSE Control File System...
systemd[1]: Mounted FUSE Control File System.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.
systemd[975]: run-user-
systemd[1]: run-user-
kdeconnectd[1119]: kdeconnect.
kdeconnectd[1119]: kdeconnect.