How to Getting Started With the Sshfs Command on Mac OS X 10.10 Yosemite

November 21, 2014 | By Zen BSD.

sshfs Command Quick Start for macOS 10.10 Yosemite

The Unix Tutorial shows you How to Install and Getting-Started with the sshfs Filesystem Client Command on macOS File System to Exchange Content with a Remote Machine.

The SSHFS (SSH Filesystem) is a filesystem client to Mount Locally and interact with directories and files located on a Remote Server or Workstation.

sshfs Quick Start on macOS Yosemite 10.10 - Featured
  1. Open Terminal Window
    Applications > Utilities > Terminal
    (Press “Enter” to Execute Commands)

    Mac Yosemite sshfs Quick Start - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. How to Install HomeBrew for macOS 10.10 Yosemite.

    HomeBrew Installation
  3. Installing sshfs for macOS.

    sudo brew install sshfs
  4. Mounting a Remote Directory Locally.

    sudo mkdir $HOME/<localDir>
    sshfs <remoteUser>@<remoteIP>:/<remotePath> $HOME/<localDir>

    For Security Reasons better Not to Run sshfs Command as Super-User…
    To Login you may Need to Enter a Password.

  5. Unmounting the Directory.

    umount -f $HOME/<localDir>

    Of if it Doesn’t Works:

    sudo umount -f $HOME/<localDir>

    Do Not Try to Removing the Local Directory because you will Delete also the Remote One!!!


QuickChic Theme • Powered by WordPress