Last Updated: February 25, 2016
· croustibat

Mount remote dir in the OSX Finder using SSHFS and Homebrew

Here's a quick tricks to work with remote directory right in your Finder :

1.Install SSHFS via Homebrew ( :

$ brew install fuse4x
$ brew install sshfs

2.Copy/paste this script in file by example to mount your directories in the Finder :


#reset mount
umount -f /Volumes/remoteDIR
mkdir -pv /Volumes/remoteDIR

#mount dir
sshfs [remote port] root@MY_SERVER_IP:/my/remote/dir/ /Volumes/remoteDIR -oauto_cache,reconnect,defer_permissions,noappledouble,negative_vncache,volname=remoteDIR

Check all the sshfs option with

$ man sshfs

3.Then just make file executeable :

$ chmod +x

4.Finally, mount your directory

$ ./

Open your Finder, check your in your device, your directory is here, you can open your files in SublimeText !