Re: sshfs mounting from Nautilus fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux