95

My Question is seemingly simple. I need to mount an SSH/SFTP volume and make it visible in finder to be able to use it as if it were a local volume (think SMB share). I have tried everything I could find (MacFUSE + sshfs (whatever version), Macfusion (couldn't install),...).

Is there anyway to do this seemingly simple thing? It feels like I'm missing something here. Also, I'm not looking for an SFTP client for download/upload. My personal machine is an Ubuntu box, and that's easily doable on that.

11 Answers 11

77

The best solution I've found today (2017) is to use Homebrew and Cask to install osxfuse and sshfs:

brew cask install osxfuse
brew install sshfs

And then:

sshfs username@hostname:/remote/directory/path /local/mount/point -ovolname=NAME

It works! :-)

  • 1
    I don't see files mounted this way in finder for some reason – Julius Dec 31 '15 at 21:00
  • I guess you would have to mount the disk under /Volumes, no? – Josef Habr Mar 30 '16 at 14:06
  • 3
    The mount point can be any folder that the current user has write access to. You can create a wrapper shell script: mkdir -p "/Volumes/$1"; sshfs remote_user_name@$1:/ "/Volumes/$1" -ovolname=$1 && open "/Volumes/$1", and then call the script passing it the IP address, i.e. mountssh.sh 192.168.1.123. On success Finder will automatically open the remote folder. – ccpizza Apr 1 '16 at 14:03
  • 9
    Be careful when using this tool to mount in Volumes. I messed up and specified /Volumes (itself) as the mount point and it killed the folder. I know...dumb, but...it happened. That made Finder unhappy. Disk repair fixed it but it was a scary 20 minutes. – Brian Colavito May 26 '16 at 21:01
  • 1
    @JensTimmerman, sshfs moved from a brew cask to a brew tap, updated the answer, see above – eskatos Jan 3 '17 at 16:33
29

Well, MacFusion was going to be my answer but since you've tried that I'll recommend my second favourite app when it comes to mounting shares: Panic's Transmit. It's new, very awesome, feature lets you mount any share that it can connect to in the UI as a "disk" in your Finder that you can drag files to. SFTP, SSH, S3...very cool.

  • ok so never mond... Macfusion worked. Apparently, downloading with safari worked while downloading with firefox 4 beta 8 didn't – Ous Dec 22 '10 at 20:20
  • @Ous: good stuff. MacFusion is pretty sweet. Can't be free even if the interface is a clunky. If you want a slicker interface Transmit will do what MacFusion does (plus a whole lot more) and look damn good doing it. – Ian C. Dec 22 '10 at 22:05
  • 1
    My #1 issue with MacFusion is that it doesn't support key-based authentication, so I can't use it with the server I usually use. Transmit handles that nicely (but isn't free). – cjm Feb 29 '16 at 8:54
  • Transmit "just works". Much better than having to setup samba. SFTP over SSH and you're done. – Subimage Dec 30 '16 at 21:51
5

As of March 2013, the current free software solution is Fuse for OS X plus a package for SSHFS (a download link on Fuse for OS X webpage).

Macfusion is a GUI for easy mounting/unmounting remote shares but it needs to be patched to work with SSHFS/Fuse for OS X.

4

I use Cyberduck for this task. It's a cross-platform (but native on mac) app that is full of features and it's free to use. You can support the developers by donating or buying it directly from the Mac App Store.

The developer also has an application named Mountainduck which let you mount the path you want to a folder and access it through Finder app.

  • 2
    If I'm not mistaken, Cyberduck does not let you access the files via Finder. It is a great client though. – radven Feb 3 '12 at 4:37
  • @radven Oh yeah, you're right, it doesn't. Sorry for that, please ignore my answer. – avee Apr 2 '12 at 3:12
  • 1
    @avee Stackexchange actually lets you delete your answer; this would seem like a good reason. – Joost Apr 24 '15 at 14:28
  • 2
    There's probably quite new thing from Cyberduck people and it seems to do the job: Mountain Duck – Josef Habr Mar 30 '16 at 14:07
  • it's not cross platform if it doesn't support any linux distro, Filezilla does the job more consistently. – Ray Foss Jul 10 '17 at 20:08
1

Best ones that you can use are Transmit, like has been said before, or Expandrive, which is probably more like what you're looking for, as finder integration is its main feature.

0

Another solution is WebDrive (35$+). I successfully used the Windows version of the same product, so I expect the same from the OS X version. Too bad, that they require you to buy separate licenses for Windows and OS X.

0

If you already have FUSE for OS X installed (e.g. you got it directly from SourceForge), then @eskatos solution can reduced to just installing sshfs instead of the whole cask which includes FUSE. You can do this by using:

brew install homebrew/fuse/sshfs

You might want to check if you have the latest version of FUSE for OS X through your System Preferences while you're at it.

-1

I can connect to a regular ftp server or an sftp (ssh) server using these in Finder's Connect To Server dialog:

For ftp: ftp://username@mydomain.com

For sftp/ssh: ftps://username@mydomain.com

So, in theory, you can try ftps://path/to/volume_name

  • 14
    ftps is not the same as sftp. – Cory Gagliardi Feb 10 '13 at 17:20
  • 7
    and further neither are the same as ssh. – ataulm Oct 15 '13 at 10:31
  • 3
    sftp is not supported from finder.. – karvoynistas Apr 6 '15 at 13:09
  • 6
    FTPS means FTP over SSL; and SFTP means SSH File Transfer Protocol, and is more secure than FTP or FTPS – DiogoSaraiva Apr 24 '15 at 16:19
  • 4
    how can this answer receive up votes? – CousinCocaine Dec 3 '15 at 21:38
-1

ExpanDrive is a commercial version with an outrageous $50 price tag, but is very clean and slick.

It also mounts Dropbox, Google Drive, OneDrive, Amazon S3, OwnCloud folders, plus a bunch more and supports ssh keys and sftp.

-1

You can download CloudMounter from the Mac App Store.

This app, permit virtual mount units like, GoogleDrive, DropBox, S3, SFTP, FTP, etc.

-4

I use Filezilla, its free, connect as sftp.

You must log in to answer this question.