PDA

View Full Version : [ubuntu] Sftp mount list



dragos2
April 8th, 2010, 07:09 AM
In Nautilus I have a sftp:// mount as favorite, how can I see where it is mounted ?

richardjh
April 15th, 2010, 11:13 PM
I am fairly sure Nautilus doesn't mount the remote filesystem, it just provides an abstraction layer to sftp which allows you to use nautilus to drag and drop files etc, but underneath it is running the sftp commands.

You can mount an sftp resource (as it is ftp over ssh) by installing fuse and sshfs.

Then mount the sftp resource like this


sshfs <remote_server>:/path/to/folder /mnt/sftp/<remote_server>

richardjh
April 15th, 2010, 11:24 PM
I may be wrong. What is under


~/.gvfs/

dragos2
April 20th, 2010, 11:23 AM
I may be wrong. What is under


~/.gvfs/

Empty unfortunately.

dragos2
April 20th, 2010, 12:05 PM
Anyone knows where nautilus mounts sftp ?

richardjh
April 20th, 2010, 09:32 PM
Assuming then that it does get mounted you would be able to find it using
mount.

In fact I have just done this on my machine to test what results you would get and this is what I get:


richardjh@ubuntu:~$ mount
... all my existing mount points ...
gvfs-fuse-daemon on /home/richardjh/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=richardjh)So then I checked to see what is under ~/.gvfs and I see:


richardjh@ubuntu:~$ ls -l /home/richardjh/.gvfs/
total 4
drwx------ 1 richardjh richardjh 4096 2009-10-22 07:36 SFTP for richardjh on remotehostThis should help you find out where your sFTP server is mounted.