Comment 4 for bug 1872075

Revision history for this message
In , Maciej-stanczew+b (maciej-stanczew+b) wrote :

Regarding workarounds: since the call to sshfs uses "-F /dev/null", config file for SSH (~/.ssh/config) cannot be used to enable diffie-hellman-group14-sha1.
The only workaround I've found is to create a script called "sshfs", with the following content:
  exec /usr/bin/sshfs -oKexAlgorithms=+diffie-hellman-group14-sha1 "$@"
and put it in PATH (before /usr/bin), so that KDE Connect will use it when calling sshfs. After this, I can successfully browse my phone using Dolphin.
(Tested on Arch; sshfs binary may be in a different place in other distributions, and then path in the script would need to be changed.)