After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 392444 - sftp connect fails when host identification has changed
sftp connect fails when host identification has changed
Status: RESOLVED DUPLICATE of bug 318251
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
2.16.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-03 19:45 UTC by Luke Hutchison
Modified: 2007-01-03 21:17 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Luke Hutchison 2007-01-03 19:45:46 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:
Comment 1 Christian Neumair 2007-01-03 21:17:53 UTC
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 ***