GNOME Bugzilla – Bug 392444
sftp connect fails when host identification has changed
Last modified: 2007-01-03 21:17:53 UTC
Please describe the problem: sftp:// connections in nautilus fail silently when the identification of the target host has changed. i.e. if logging in using sftp in the terminal gives the following error message, then Nautilus will fail silently when trying to connect to the same host: Connecting to ***... @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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/luke/.ssh/known_hosts to get rid of this message. Offending key in /home/luke/.ssh/known_hosts:1 RSA host key for *** has changed and you have requested strict checking. Host key verification failed. Couldn't read packet: Connection reset by peer At the very least, the same error message should be presented to the user in a dialog box. Steps to reproduce: Create a Nautilus "shortcut" to an SFTP server. Regenerate keys on server. Try opening the shortcut on the client. Actual results: Expected results: Does this happen every time? Every time. Other information:
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 318251 ***