osx - Why can't I setup an SSHFS share? "OSXFUSE file system is not available" error

07
2014-07
  • Saqib Ali

    I'm trying to setup an SSHFS share from my local machine to a remote machine, but it is not working. I'm getting the error OSXFUSE file system is not available (see below). How to fix this??

    FYI, my local machine is a MacBook Pro laptop running OSX 10.9.3. The remote machine is actually a VirtualBox on the same hardware running CentOS.

    % brew install sshfs                                # <---- SSHFS is installed
    Warning: sshfs-2.5.0 already installed
    
    % brew install osxfuse                              # <---- OSX Fuse is installed
    Warning: osxfuse-2.6.4 already installed
    
    % ssh [email protected]                   # <---- See, SSH works!!
    Last login: Wed Jun 18 18:36:11 2014 from XXX.XXX.XXX.XXX
    [[email protected] ~]% exit
    
    % sudo mkdir /mnt
    % sudo mkdir /mnt/Share    
    % sudo sshfs -o IdentityFile=~/.ssh/id_rsa.pub [email protected]:/ /mnt/Share
    the OSXFUSE file system is not available (-1)
    the OSXFUSE file system is not available (1)
    

    I tried solution described here. But it didn't work for me:

    % sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs
    (kernel) Kext com.github.osxfuse.filesystems.osxfusefs not found for unload request.
    Failed to unload com.github.osxfuse.filesystems.osxfusefs - (libkern/kext) not found.
    
  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    osx - sshfs and emacs on OS X; file has changed since last visited or saved
  • amicitas

    I am trying to use sshfs (2.2.0) and macfuse (2.0.3) along with emacs (23.2.1).

    Many times when I try to save a file that I am editing from the remote file system I get the error:

    file.txt has changed since last visited or saved; save anyway?
    

    Occasionally I then get the error:

    file.txt is write-protected; save anyway?
    

    Are there any options I can use when mounting the file system that would make this work without the errors? I have tried turning caching off (-o cache=N) which made the error show up every time I tried to save a file.


  • Related Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.