Re: sshfs mounting from Nautilus fails



On Fri, 2007-08-24 at 16:30 +0200, Patrick wrote:
Hi all,

I'm using a laptop running up-to-date Fedora 7 i386. I installed fuse
and fuse-sshfs and added the following line to /etc/fstab:
sshfs#patrick@box2: /mnt/box2 fuse noauto,user 0 0

When I login to the Gnome desktop and start nautilus I see a little icon
called box2 at the left under "Places". If I double click on the box2
icon I get a dialog asking for my password. I enter the correct password
and... nothing.

However, if I open a terminal and manually mount it (as user patrick)
with mount /mnt/box2 and enter my password it... works. I even see the
box2 icon change automagically in nautilus and a little harddisk icon
"box2" appears on my Desktop.

I don't understand why it wont work from nautilus. To test I installed
an ssh key (without passphrase) on box2 and added ssh-agent and ssh-add
to the session startup, logged out and logged in again but it did not
make a difference.

Anyone know what I am doing wrong?

Sorry to reply to myself. Got some more information that might be
useful. The difference between mounting successfully from a terminal and
failing from nautilus is the following:

Output in /var/log/secure on remote box from a successful mount from a
terminal on the local box:

Aug 24 18:56:20 box2 sshd[2727]: Postponed publickey for patrick from
10.0.0.111 port 60652 ssh2
Aug 24 18:56:20 box2 sshd[2724]: Accepted publickey for patrick from
10.0.0.111 port 60652 ssh2
Aug 24 18:56:20 box2 sshd[2724]: pam_unix(sshd:session): session opened
for user patrick by (uid=0)
Aug 24 18:56:20 box2 sshd[2728]: subsystem request for sftp

Output in /var/log/secure on remote box from a failing mount via
nautilus on the local box:

Aug 24 18:56:20 box2 sshd[2727]: Postponed publickey for patrick from
10.0.0.111 port 60652 ssh2
Aug 24 18:56:20 box2 sshd[2724]: Accepted publickey for patrick from
10.0.0.111 port 60652 ssh2
Aug 24 18:56:20 box2 sshd[2724]: pam_unix(sshd:session): session opened
for user patrick by (uid=0)
Aug 24 18:56:20 box2 sshd[2728]: subsystem request for sftp
Aug 24 18:56:20 box2 sshd[2724]: pam_unix(sshd:session): session closed
for user patrick

Only difference is the last line here. Seems the session gets closed.
Anyone know why?

Regards,
Patrick

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • sshfs mounting from Nautilus fails
    ... When I login to the Gnome desktop and start nautilus I see a little icon ... called box2 at the left under "Places". ...
    (Fedora)
  • Re: Annoying behavious of Nautilus when drag+drop as link
    ... Mario, it was a throw-away comment, not a justification. ... The icon can have an ... the tree or something similar to the left panel in Nautilus. ... and handles symlink naming like the old Nautilus did (no ...
    (Ubuntu)
  • Re: Why cant I rename my floppy drive?
    ... Then I right-clicked the icon and selected "mount". ... gksudo nautilus and all of that. ... When I then try to rename it, Nautilus says it can't rename because the ...
    (Ubuntu)
  • Re: Win98 -- all kidding aside
    ... be helped by an anger management course:) ... Insert floppy. ... Then click either on the icon that appears there saying 1.5 MB Media, ... you won't need to do that since nautilus opens it automatically on ...
    (Ubuntu)
  • FC3 Nautilus full screen
    ... setting in Nautilus or Gconf under FC3? ... icon or double click the title bar at the top of the ... screen to maximise Nautilus to the full 800*600 size - ... Do you Yahoo!? ...
    (Fedora)