Bug 129857

Summary: fish should give appropriate error message when remote host identification has changed
Product: [Applications] konqueror Reporter: Christoph <kdebugs.20.chth>
Component: generalAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph 2006-06-26 18:32:51 UTC
Version:           3.5.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-25-686

When trying to connect to a remote host with fish I just get a message "cannot connect" when the remote host identification has changed. It would be good to make a error message specific to this case just as is the case when using SSH in the console. Otherwise this error message cannot be distinguished from the host being down. Here is the error message SSH gives (konqueror should give the same error message):

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
[...]
Please contact your system administrator.
Add correct host key in /home/<username>/.ssh/known_hosts to get rid of this message.
Offending key in /home/<username>/.ssh/known_hosts:<#>
RSA host key for <IP address> has changed and you have requested strict checking.
Host key verification failed.
Comment 1 Tommi Tervo 2006-06-26 18:51:12 UTC

*** This bug has been marked as a duplicate of 69104 ***