Issues in getting ‘kdeconnect’ to browse the Android phone’s file system.

One Plasma 5 application which I’m a fan of, is the ‘kdeconnect’ application, which, if The corresponding Android app is installed on a smart-phone or tablet, allows synchronizing data and use between the phone, and our desktop environment.

Here is what the widget looks like on the Linux computer’s desktop, when it’s showing no notifications from the phone:

Screenshot_20190216_125813

(It has the capacity to display notifications which appear on the phone, but on the Linux desktop, as well as numerous other capabilities.)

Under Plasma 5.8, most of what it has to offer works out-of-the-box. But there has been one issue, when trying to browse the phone or tablet’s file system, from the desktop, and which is a known issue. This does not work out-of-the-box. I know why it does not.

What ‘kdeconnect’ will do from the client, which is the desktop, is use an ssh-mount to mount the file system of the phone or tablet, virtually, on the Linux computer, after which that virtual file-system can be read from and written to, on the Linux computer. In order for this to work, the app on the phone needs to act as a file-server, and as far as I can tell, the Android app does so without flaw.

The issue which eventually arises is, that this version of ‘kdeconnect’ will ask the Android app to use the ‘ssh-dss’ Host Key Method, while any recent Android platform has discontinued support for that. The Android app is limited to applying libraries that are determined by the Android application framework, and this framework will also insist that the Host Key, which can be offered to the Linux desktop, be ‘ssh-rsa’. ‘ssh-dss’ is no longer deemed to be secure enough, by Google.

There is a workaround which I can apply, on a Plasma 5.8 desktop, which will allow this feature to work:

Screenshot_20190216_130006

Screenshot_20190216_130110

But, I’m not going to state here what the workaround is because I fear that my method of patching the problem would be too delicate for most of my readers to undertake. At the very least, trying to apply my workaround and botching it, will result in a ‘kdeconnect’ (Linux) application that crashes eventually.

But I did think it would be a good thing for me to do, to point out where the problem lies, so that the actual coders and maintainers of the project can solve it in an official way – eventually.

Dirk

 

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.