sshfs <ssh-server-address>:<ssh-server-path> <local-path> -o auto_cache,reconnect,defer_permissions,noappledouble ssh-server-path needs to be absolute path. Home directory with ~/ did not work.
The options used:
auto_cache: Enables caching for better performancereconnect: Automatically reconnects if connection dropsdefer_permissions: Prevents permission issuesnoappledouble: Prevents .DS_Store files creation
To unmount when done:
umount ~/remote-projectList of mounted filesystems:
mountthen look for sshfs in the list. Eventually grep by macfuse
Eventually the macfuse version will not be compatible so:
- First, uninstall old macFUSE if present:
brew uninstall macfuse- Install the latest macFUSE from the official source:
brew install --cask macfuse- Try mounting again
- Eventually osx will ask for permission to install the extension. After allowing, restart. Restart is necessary. Without it won't work