Mount a remote server via an SSH connection using sshfs on MacOS

The easiest way to install sshfs on MacOS is via brew:

brew install Caskroom/cask/osxfuse sshfs

Mount the remote server:

sshfs user@server:/path /local/path -o defer_permissions

Example mount command:

sshfs root@12.34.56.78:/path ~/Documents/server -o defer_permissions

Unmount using:

umount -f /local/path

Leave a Reply