I entered sftp://name-of-host/ into the location bar. Then I got an error message right under the location bar: "Connection to host 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. is broken." (see screenshot). Obviously the sentence "Connection to host is broken" and the real error message seem to be mixed. Connection to the host works via fish, scp on the command line and ssh on the command line. Reproducible: Always
You forgot the screenshot :)
It looks like the text comes from "QString KIO::buildErrorString(int errorCode, const QString &errorText)", in kio/kio/global.cpp in kdelibs. But I'm not sure if that function is wrong or if it's being used incorrectly by KIO/sftp.
Created attachment 75474 [details] Screenshot of error message Here is the forgotten screenshot ;-)
*** Bug 308799 has been marked as a duplicate of this bug. ***
Review request there: https://git.reviewboard.kde.org/r/107700/
Git commit 09a3d51e8c00f1a8d6662ea9a83ee593f0504eb7 by Aurélien Gâteau. Committed on 13/12/2012 at 14:23. Pushed by gateau into branch 'master'. Fix mixed sentences in error messages REVIEW: 107700 M +6 -6 kioslave/sftp/kio_sftp.cpp http://commits.kde.org/kde-runtime/09a3d51e8c00f1a8d6662ea9a83ee593f0504eb7
Git commit cd24bf87a05c5b3510c9df4260d4e1d2295f500e by Aurélien Gâteau. Committed on 13/12/2012 at 14:23. Pushed by gateau into branch 'KDE/4.9'. Fix mixed sentences in error messages REVIEW: 107700 M +6 -6 kioslave/sftp/kio_sftp.cpp http://commits.kde.org/kde-runtime/cd24bf87a05c5b3510c9df4260d4e1d2295f500e