Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.08 KB

File metadata and controls

39 lines (32 loc) · 1.08 KB

Sshfs

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 performance
  • reconnect: Automatically reconnects if connection drops
  • defer_permissions: Prevents permission issues
  • noappledouble: Prevents .DS_Store files creation

To unmount when done:

umount ~/remote-project

List of mounted filesystems:

mount

then look for sshfs in the list. Eventually grep by macfuse

Issues with macfuse

Eventually the macfuse version will not be compatible so:

  1. First, uninstall old macFUSE if present:
brew uninstall macfuse
  1. Install the latest macFUSE from the official source:
brew install --cask macfuse
  1. Try mounting again
  2. Eventually osx will ask for permission to install the extension. After allowing, restart. Restart is necessary. Without it won't work