Results 1 to 3 of 3

Thread: sshfs mounting in gutsy

  1. #1
    Join Date
    Nov 2007
    Beans
    49

    sshfs mounting in gutsy

    Alright, I have a problem with sshfs mounting in /etc/fstab

    I have set up an ssh connection that uses a passwordless key that works fine if I exec:
    Code:
    ssh user@server
    It also works fine if I exec:
    Code:
    sshfs user@server:/path/to/file /local/path
    It mounts the remote directory without prompting me for a passworrd and even gives my user the proper permissions on the newly mounted directory.

    BUT, if I try to set this up in /etc/fstab and do a
    Code:
    sudo mount /local/path
    it prompts me for a password, AND, it mounts it with root-only permissions. I have been fighting this problem for a couple of days now and am seriously about to pull my hair out over it.

    Here is an example of my fstab entry:
    Code:
    sshfs#user@kauai:/media/media/eBooks    /home/user/eBooks    fuse auto,user,exec,rw,sync 0 0
    I'm pretty sure ( although I haven't tried yet ) I can write a script that executes those commands on startup, but I just thought that I should be able to use the existing tools to do what I would like.

    Can someone please help me figure out why this is happening to me?

    Thanks in advance for any advice.

  2. #2
    Join Date
    Nov 2007
    Beans
    49

    Re: sshfs mounting in gutsy

    bump...

  3. #3
    Join Date
    Nov 2007
    Beans
    49

    Re: sshfs mounting in gutsy

    Well, I just decided to put it all in a script and execute that on startup. Problem solved. Although using the existing tools to accomplish my goals would have been better. Oh well.

    thefunnyman

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
  •