Sshfs For Mac



Skip to end of metadataGo to start of metadata

Cyberduck is a file transfer client for Apple Mac and Microsoft Windows. Cyberduck is a fairly popular file transfer client for Apple Mac and Microsoft Windows. It supports FTP, SFTP, WebDAV, Amazon S3, OpenStack Swift, Backblaze B2, Microsoft Azure & OneDrive, Google Drive and Dropbox. ExpanDrive adds cloud storage like Google Drive, Dropbox, Amazon S3, SFTP (SSH), Box, OneDrive and Sharepoint to Finder and Explorer.Don’t bother with an extra app just to move data around. ExpanDrive connects cloud storage to every application on your computer including Office 365, Photoshop, and VS. Due to the complex and interwoven nature of Mac OS X, umount may fail often. It is recommended that diskutil(1) (as in, 'diskutil unmount /mnt') be used instead. This approach (e.g., 'diskutil umount path/to/mount/point') allows me to unmount sshfs-mounted content, and does not require sudo. (And I believe that it should work back through at.

Purpose: Provide instruction on how to install and configure SSHFS to allows the secure mounting of network shares via SSH.

Installing SSHFS (from Terminal):

For 10.12 or below:

Creating the mount directories

NOTE: SSHFS only allows shares to mount in your home directory.
Create a mount directory (items in red should be changed by the user):

Warning: do not use sudo for this command, it will create a permission error

Optional: If you want to reference this share from another location in the filesystem, create a create a symlink to the location you would like to reference. For instance:

Connecting to a network share


Sshfs Macos Mojave

Note: If the RSA key for your computer changed recently, consultWhat to do When a Remote Machines RSA Key has Changed

Sshfs

Warning: do not use sudo for this command, it will create a permission error

The network share should now be mounted to the specified directory and accessible in Finder.

Unmounting the network share

To unmount the network share you created, enter the following command:

Using sshfs with ssh keys

Create the key on your computer. We recommend using the default key location. You may create a password if you'd like.

Copy the key to the server you're mounting from:

Use the following sshfs command to mount the share using your key:

Sshfs For Mac Pro


Installer

If you encounter issues there are a few other articles which may help:

Sshfs For Mac High Sierra

SSHFS Troubleshooting:

Fuse For Mac

Filesharing/Accessing Your Network Home (section on using SSHFS GUI):