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). Ho
If you run brew info osxfuse
and follow the instructions to the letter, I believe it would work.
From what You described, you just tried unloading the (possible) previous kernel extension, but did not complete the last important step to actually install the new extension.
This is what brew info osxfuse tells me:
If upgrading from a previous version of osxfuse, the previous kernel extension
will need to be unloaded before installing the new version. First, check that
no FUSE-based file systems are running:
mount -t osxfusefs
Unmount all FUSE file systems and then unload the kernel extension:
sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs
The new osxfuse file system bundle needs to be installed by the root user:
sudo /bin/cp -RfX /usr/local/opt/osxfuse/Library/Filesystems/osxfusefs.fs /Library/Filesystems
sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs
The problem when installing SSHFS with brew
is that osxfusefs
is not signed: the Console outputs com.apple.kextd: ERROR: invalid signature for com.github.osxfuse.filesystems.osxfusefs, will not load
. See also https://github.com/osxfuse/osxfuse/issues/122.
The binary for OSXFUSE from http://osxfuse.github.io/ (as suggested by the answer of Old Pro) does not have this problem, and therefore installing this one instead resolved it for me.
I have observed that OSXFUSE is a bit tricky, though I don't know exactly why, and brew
tries to avoid changing the system, so using it to manage kernel extensions is not a good idea. I suggest using the packaged installers for OSXFUSE and SSHFS from http://osxfuse.github.io/ instead of using brew
.
Open System Preferences, choose FUSE, then update to the latest version. Thats what worked for me.
There appears to be a problem loading the KEXT installed by the regular osxfuse
Homebrew package. You can use brew cask
to install the official FUSE for OS X build from their own DMG:
brew rm osxfuse
brew install caskroom/cask/brew-cask
brew cask install osxfuse
SSHFS itself is also available as a Cask package, though on my system mixing osxfuse
from Cask with plain sshfs
binary bottle works just fine.
The downside to this approach is that brew upgrade
or brew outdated
will no longer be able to update FUSE for OS X as brew cask
is not version-aware for now.