https://bugs.kde.org/show_bug.cgi?id=419897

Hales <nailerthu3k...@halestrom.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nailerthu3k...@halestrom.ne
                   |                            |t

--- Comment #43 from Hales <nailerthu3k...@halestrom.net> ---
sshfs is failing with this message:

> command-line line 0: Bad key types '+ssh-dss,ssh-rsa'.

sshfs is being called with these arguments:

> sshfs kdeconnect@IPADDRESSHERE:/ /tmp/1000-runtime-dir.grt/SOMEUUIDHERE -p 
> SOMEPORTNUMBER -s -f -F /dev/null -o 
> IdentityFile=/home/USERNAME/.config/kdeconnect/privateKey.pem -o 
> StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o 
> HostKeyAlgorithms=+ssh-dss\,ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa -o 
> uid=1000 -o gid=1000 -o reconnect -o ServerAliveInterval=30 -o password_stdin

One of the older workaround scripts I saw added some more commandline
arguments, but this didn't help me.  Instead I had to remove (or replace) the
mention of "ssh-dss" in the commandline.  I wrote this shim and put it in my
$PATH:

```
#!/bin/sh
exec /usr/bin/sshfs $(echo "$@" | sed 's|ssh-dss|ssh-rsa|g')
```

Kdeconnect mounts now work again.  It's probably fine to permanently nueter
mentions of ssh-dss, however, I still recommend removing this script when the
bug is fixed because it doesn't safely quote things and this might cause
problems if spaces ever get introduced into the commandline arguments.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to