When trying to connect to salvo@10.0.0.3 with sftp I get this error message: The host key for this server was not found, but another type of key exists. An attacker might change the default server key to confuse your client into thinking the key does not exist. Please contact your system administrator. However sftp from the terminal does not complain about the certificate. I say kio is wrong. But I don't know exactly what is going on. Reproducible: Always
Which libssh version do you use? What is the keytype in your known_hosts file? What keytype is the server sending?
(In reply to Andreas Schneider from comment #1) > Which libssh version do you use? dpkg -l | grep libssh ii libssh-4:amd64 0.6.3-4.1 amd64 tiny C SSH library (OpenSSL flavor) ii libssh-gcrypt-4:amd64 0.6.3-4.1 amd64 tiny C SSH library (gcrypt flavor) ii libssh2-1:amd64 1.5.0-2+b1 amd64 SSH2 client-side library > What is the keytype in your known_hosts file? I don't know, the hosts seem to be base64 encoded, but I only have those 2 kinds: ecdsa-sha2-nistp256 ssh-rsa > What keytype is the server sending? I don't know
Please update to libssh 0.7.2. This should fix the issue. If you are still running into issues with libssh 0.7.2 open a bug at https://red.libssh.org/