Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 60

Thread: HOWTO: Mount SSH Shares

  1. #21
    Join Date
    Jan 2006
    Location
    Lyon, France
    Beans
    16
    Distro
    Ubuntu Breezy 5.10

    Smile Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by freelsjd
    I did this and it worked fine. However, how can I verify the mount (other than using it)? In other words, the "df" command does not show the sshfs mounted drive. How to view the mount ?
    I seem to remember that df did show the mounted drive! I'm not at work now, so I can't check it.

    Perhaps I typed "df -a" or something. I seem to remember that "df" with no parameters showed a limited list. Or try "df /myMountPoint".

    Another way to verify the mount: list the contents of the mountpoint! That works of course if the mounted disk is not empty.

  2. #22
    Join Date
    Nov 2004
    Location
    Roma, Italia
    Beans
    279

    Re: HOWTO: Mount SSH Shares

    Nice tip, thanks.

  3. #23
    Join Date
    Dec 2005
    Beans
    338

    Re: HOWTO: Mount SSH Shares

    "df -a" shows it, as does "cat /etc/mtab"

  4. #24
    Join Date
    Mar 2005
    Location
    RVA
    Beans
    106
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Mount SSH Shares

    I've followed the how-to, but am still having a problem. Any help is appreciated. I have ssh set up and working between my client (laptop) and server (desktop). I've installed sshfs and its dependencies. I've created a user-owned mountpoint on the client machine. I added fuse to /etc/modules, and
    Code:
    pmorris@ubuntu:~ $ lsmod | grep fuse
    fuse                   36748  0
    confirms that the fuse module is loaded. However, when I issue the sshfs command, (sshfs 192.168.1.103:</path/to/share> </path/to/mountpoint>, I get the following error:
    Code:
    fusermount: failed to create device node: Operation not permitted
    fusermount: fuse device not found, try 'modprobe fuse' first
    The only info I've been able to find regarding this error is to do a "sudo modprobe fuse", which is already loaded in my case. Any ideas?

  5. #25
    Join Date
    Jun 2005
    Location
    Albuquerque, New Mexico
    Beans
    272
    Distro
    Ubuntu Development Release

    Re: HOWTO: Mount SSH Shares

    192.168.1.103:</path/to/share> </path/to/mountpoint>, I get the following error:
    Code:
    fusermount: failed to create device node: Operation not permitted
    fusermount: fuse device not found, try 'modprobe fuse' first
    The only info I've been able to find regarding this error is to do a "sudo modprobe fuse", which is already loaded in my case. Any ideas?


    Have you logged off, or rebooted, and logged back in?
    "Nice jail. Looks strong."
    - H. Houdini

  6. #26
    Join Date
    Mar 2005
    Location
    RVA
    Beans
    106
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by GrammatonCleric
    Have you logged off, or rebooted, and logged back in?
    Yes, I've done that more than once. I also added myself to the "fuse" group.

    Update:
    Well, I got it working. I changed the group of /dev/fuse from root to fuse, and reinstalled sshfs, and fuse-utils, and it's working now. I don't know exactly what was wrong, but it's working now.
    Last edited by PMO6022; January 15th, 2006 at 10:45 PM.

  7. #27
    Join Date
    Oct 2005
    Location
    Helsinki, Finland
    Beans
    1,351

    Re: HOWTO: Mount SSH Shares

    Thanks, it worked!

    The only problem is that nautilus thinks that the ssh shares have 0kb free space, so I can't create new files. I can edit the old ones just fine though.. Does anyone have any ideas what could be done about this?

  8. #28
    Join Date
    Dec 2004
    Beans
    297

    Re: HOWTO: Mount SSH Shares

    I too was tearing my hair out with the
    Code:
    fusermount: mount failed: Operation not permitted
    error message. I found the answer on the fuse website itself - I needed this command:
    Code:
    chmod 4755 /usr/bin/fusermount
    Oddly enough only one of my several ubuntu boxes was affected, and reinstalling the packages didn't help at all. Odd.

  9. #29
    Join Date
    Nov 2004
    Beans
    177
    Distro
    Dapper Drake

    Re: HOWTO: Mount SSH Shares

    Code:
    Filesystem           1M-blocks      Used Available Use% Mounted on
    sshfs#yj@ubuntu:/home/yj/
                            976563         0    976563   0% /mnt/remote_home
    
    cat /etc/mtab:
    sshfs#yj@ubuntu:/home/yj/ /mnt/remote_home fuse rw,nosuid,nodev,max_read=65536 0 0
    
    sudo ls -lad /mnt/remote_home:
    drwxr-xr-x 1 yj users 6328 2006-03-08 17:49 /mnt/remote_home
    
    id:
    uid=1000(yj) gid=114(fuse) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),106(lpadmin),107(scanner),108(admin),114(fuse),1000(yj)
    
    BUT:
    cd /mnt/remote_home:
    bash: cd: /mnt/remote_home: Permission denied
    WHY?
    Linux user #392733
    -------------------------------------
    You want to know what a computer really is, try Linux!

  10. #30
    Join Date
    Nov 2004
    Location
    Bydgoszcz, Poland
    Beans
    78
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by sciurus
    sshfs has the advantage over a KIOslave or GnomeVFS that any program can use it. For instance, in Kubuntu Amarok wasn't able to play my remote music through fish:/ but worked fine using sshfs.
    sshfs remote-system-name:/remote-folder /media/mount-name
    Hi, great HOWTO

    is it possible to add to line:

    sshfs usre_name@remote-system-name:/remote-folder /media/mount-name

    password?

    I woluld like to add this line to KDE start, so I will have share mounted every time a start a computer

Page 3 of 6 FirstFirst 12345 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •