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

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

%d bloggers like this: