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@ ~/Documents/server -o defer_permissions

Unmount using:

umount -f /local/path

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: