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

--- Comment #46 from UwU <vosyli...@gmail.com> ---
(In reply to Hales from comment #43)
> 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.

Tried this and it worked. i made some minor changes, instead of putting the
script to $PATH, i renamed /usr/bin/sshfs to /usr/bin/sshfs-original and made a
new script file /usr/bin/sshfs with the script:
 #!/bin/sh
 exec /usr/bin/sshfs_original $(echo "$@" | sed 's|ssh-dss|ssh-rsa|g')

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

Reply via email to