1. Install MacPorts
    • e.g. for Montery v12, simply download the .pkg and install
  2. Install sshfs
    • sudo port install sshfs
  3. Install macFuse
    • need to allow system software from Benjamin Fleischer in System Preferences to use this extension
  4. Create a directory and mount the remote file system
    • mkidr local_fs
    • sshfs $USERNAME@HOST:DIR local_fs
    • if the server requires key authentication, use sshfs $USERNAME@HOST:DIR local_fs -o IdentityFile=PATH_TO_KEY
  5. (note) If the connection is broken, the local directory that the remote system is mounted might show as busy but cannot be read or written to. One can unmount the fs by umount -f local_fs and mount at local_fs again (as in step 3)

Reference