I have been trying to connect to a server using sftp from Dolphin. I unfortunately get the following error message:

kex error : no match for method server host key algo: server [ssh-dss], client [ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256]

The problem might be that the server uses the legacy ssh-dss for connections, which is disabled by openSSH. But while with ssh you may add the flag

-oHostKeyAlgorithms=+ssh-dss

to enable it’s use again, yet I can’t find any option to do the same in Dolphin. Is there any way to do this?

I’m on NixOS 24.05 with KDE Plasma 6.0.0 from the unstable branch.

  • Strit
    link
    fedilink
    14 months ago

    Maybe you can set it somewhere in Konsole’s SSH Config options.