GNOME Bugzilla – Bug 334364
Sftp/VFS issue causes problems if known_hosts has changed
Last modified: 2006-03-19 09:54:44 UTC
Please describe the problem: When trying to sftp to remote server with a non-approved host, nautilus effectively hangs for a long period of time before responsding with an error code of 83 - which is named 'Undefined Error'. Also - The remote server was running on port 50022, but I dont see that contributing to the problem as nautilus asks for the server appropriately. When logging in via ssh i get the 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 xx:Xx:Xx:Xx:Xx:x:xx Please contact your system administrator. once either known_hosts has been corrected or appropriate action taken. Nautilus is fine again. Steps to reproduce: 1. Try connecting to a remote host under circumstances as above 2. Wait 3. Look at error in confusement. Actual results: Expected results: Some sort of dialog, such as the SSH command gives, about the man in middle situation and asking if its a) Okay - Permit this time, b) Okay - Add to known hosts, c) Deny Does this happen every time? yup for as much as I have tested it (only on two servers, both running on non standard ports -- security through obscurity and all that :P Other information: Yeah - was a shame it happened as was showing off to my KDE using housemate while trying to connect to his machine. Dammit!
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 ***