Red Hat Bugzilla – Bug 186496
Nautilus hangs when accessing an sftp bookmark
Last modified: 2015-03-03 17:28:07 EST
Description of problem:
Nautilus hangs when accessing an sftp bookmark. When this happens, Nautilus
must be restarted.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open an Nautilus file browser
2. Choose Go->Location
3. Type in sftp://username@your_server.fqdn.com:/home/username
4. Enter password
5. Click Bookmarks->Add bookmark
6. Make Nautilus "forget" your session credentials (logout of Gnome and back
in, or close window and wait a while).
7. Try to access the sftp location with your bookmark.
8. See Nautilus hang.
Not sure what component was the culprit, but this problem disappeared after I
did a recent update via yum.
If the problem is fixed, then let's close the bug.
It was fixed, but I did an update via yum early last week and it looks like the
problem is back.
BTW, I saw a version of this problem, but in a situation where I had
created an sftp bookmark to a site which later had sftp service
turned off. It wouldn't let me create a new bookmark to the site,
since it couldn't make the sftp connection, but if I tried to use
my old bookmark it would hang.
In any case, can you test this with the new gnome-vfs2-2.14.1-1.fc5.2
update which was just released? It has some fixes to improve sftp
I upgraded to gnome-vfs2-2.14.1-1.fc5.2 via yum. Then I logged out of my gnome
session and issued an init 3. I then brought the system back up to runlevel 5
and logged in to gnome. (I just wanted to be throughly sure that any new
libraries were being reloaded)
I clicked on my bookmark and it did not work--Nautlius hanged. After restarting
Nautilus, I tried doing (from the menu) Go->Location... and then entered
email@example.com:/home/username Nautilus hung in the same way it did
when trying to use the bookmark.
Now I know this is not a problem which is unique to my server because it happens
with other servers that I have access to. Also, I doubt there is any ssh
configuration problems on the server because I can successfully connect to my
server using the sshfs fuse module--and it works flawlessly.
oops... correction to comment #5... the path I entered into Go->Locataion was
Are you sure that you can *sftp* to the site, as oppose to ssh?
I'm just asking because I have exactly the same behavior on a server
which was recently upgraded and had sftp support turned off. The
default for sshd is no sftp subsystem loaded, though I believe that
the Fedora default adds the line in sshd_config to turn it on.
When I try to sftp from the command line, I get:
Request for subsystem 'sftp' failed on channel 0
Couldn't read packet: Connection reset by peer
and Nautilus hangs in exactly the same way as you describe.
I can ssh, scp, etc. to that server perfectly. It's entirely
possible to be able to ssh to a server (and scp, and use sshfs)
but not be able to sftp. Nautilus uses sftp instead of ssh to
What happens if you try to sftp from the command line to site?
I am 100% certain sftp is enabled. Just to be certain, sftp (the command line
tool) works perfectly.
Now the crazy part, if I removed my bookmarks from Nautilus, using
Go->Location... works perfectly every time. I am beginning to wonder if there
is some faulty interaction between Nautilus and gnome-keyring.
Yet another anomolie is that the Nautilus "Connect to server..." feature works
perfectly also (although I suspect ssh/scp might be the mechanism there).
Nah, "Connect to server" just creates a link to a sftp:// uri. Very strange.
I just retested this bug last week after bringing my FC5 system up to date via
yum and the issue still remains--exactly as described here in this bugzilla.
Might be related to http://bugzilla.gnome.org/show_bug.cgi?id=356717
Have you been able to reproduced this bug on your end?
Fedora Core 5 is no longer maintained. Is this bug still present in Fedora 7 or
I haven't tried it in a while, but I'll try it this week on Fedora 8.
I retested this today and the problem seems to have gone away. I haven't been
using the bookmark feature like this in a while (because of this bug). Instead
I've been using the "Connect to Server" method instead. I'll keep using the
bookmark feature now and if I don't have any more failures to report in the next
two weeks I would recommend closing this BZ.
What is the status of this bug? Are you still able to reproduce it?
Fedora apologizes that these issues have not been resolved yet. We're
sorry it's taken so long for your bug to be properly triaged and acted
on. We appreciate the time you took to report this issue and want to
make sure no important bugs slip through the cracks.
If you're currently running a version of Fedora Core between 1 and 6,
please note that Fedora no longer maintains these releases. We strongly
encourage you to upgrade to a current Fedora release. In order to
refocus our efforts as a project we are flagging all of the open bugs
for releases which are no longer maintained and closing them.
If this bug is still open against Fedora Core 1 through 6, thirty days
from now, it will be closed 'WONTFIX'. If you can reporduce this bug in
the latest Fedora version, please change to the respective version. If
you are unable to do this, please add a comment to this bug requesting
Thanks for your help, and we apologize again that we haven't handled
these issues to this point.
The process we are following is outlined here:
We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
And if you'd like to join the bug triage team to help make things
better, check out http://fedoraproject.org/wiki/BugZappers
I have retested this several times on Fedora 8 with all of the latest stable
updates. I do not see the problem anymore.
Thanks for your update.