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 306596 - sftp:// does not report an error when RSA keys conflict
sftp:// does not report an error when RSA keys conflict
Status: RESOLVED DUPLICATE of bug 318251
Product: gnome-vfs
Classification: Deprecated
Component: Module: ssh/sftp
2.10.x
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-06 00:18 UTC by Chris Skalenda
Modified: 2006-06-12 20:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Chris Skalenda 2005-06-06 00:18:11 UTC
Please describe the problem:
When there is a conflict regarding the entry in ~/.ssh/known_hosts and the
target of sftp://, gnome-vfs gives no error dialogue or any sort of indication
that there is a problem. 

Steps to reproduce:
1. Change/regenrate the RSA key in a remote host that has an entry in known_hosts
2. sftp:// to that machine
3. 


Actual results:
A "Cancel Open" dialogue appears after a short wait.

Expected results:
An error message reporting the conflict should appear immediately, in a similar
manner to what ssh and sftp provide.

Does this happen every time?
Yes.

Other information:
Comment 1 Sebastien Bacher 2005-07-17 13:21:34 UTC
Thanks for your bug. What version of gnome-vfs/nautilus do you use? How do you
open the URI? Here nautilus opens a dialog describing the issue with 2 choices
Comment 2 Tuomas Kuosmanen 2006-04-07 18:08:42 UTC
Funny enough I was just about to report this same today as my website changed hosts.

Background info: So I try to access sftp://tigert@very.hard.to.guess.com. The host has a conflicting entry on my ~/.ssh/known_hosts since I did not fix known_hosts yet, and luckily bumped to this problem.

I had already a "desktop mount" to my site (via "connect to server..") on the desktop that I had been using with the previous server without a problem of course, and it puzzled me for a moment as to why nautilus briefly froze, but then recovered again, but there was no error message or notification as to the nature of the problem - just as nothing had even happened.

When I try to open the same uri from the location bar on an existing nautilus window, it gives me the "Nautilus cannot display "sftp://foo@blaa.com", please select another viewer and try again" which sounds plain wrong as the "default error message" for issues like this, since it is not at all a "viewer" problem.

Comment 3 Tuomas Kuosmanen 2006-04-07 18:41:01 UTC
Oh, and this is Ubuntu, latest Dapper as of today. 

$ pkg-config --modversion gnome-vfs-2.0
2.14.0

Comment 4 Tuomas Kuosmanen 2006-04-07 18:42:21 UTC
$ nautilus --version
Gnome nautilus 2.14.0

Comment 5 Teppo Turtiainen 2006-06-12 20:10:55 UTC
Marking this as a duplicate of a newer bug 318251 that has more info.

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