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 334364 - Sftp/VFS issue causes problems if known_hosts has changed
Sftp/VFS issue causes problems if known_hosts has changed
Status: RESOLVED DUPLICATE of bug 318251
Product: nautilus
Classification: Core
Component: Navigation
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-12 23:27 UTC by Nick G
Modified: 2006-03-19 09:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Nick G 2006-03-12 23:27:39 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!
Comment 1 Teppo Turtiainen 2006-03-19 09:54:44 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 ***