Top Tags

Mount SSH Folder on macOS using SSHFS

A step-by-step guide to mounting a remote SSH folder on macOS using SSHFS

Install SSHFS on macOS

bash
1brew install --cask macfuse
2brew install gromgit/fuse/sshfs-mac

Create a Mount Point

bash
1mkdir -p ~/Volumes/RemoteSSH

Mount the Remote SSH Folder

bash
1sshfs username@remote_host:/path/to/remote/folder ~/Volumes/RemoteSSH

###Unmount the Remote SSH Folder

bash
1umount ~/Volumes/RemoteSSH

Mount with reconnect option

bash
1sshfs [email protected]:/home/ ~/remote-server \
2 -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3