129

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.

oa-
  • 7,716

13 Answers13

116

The best solution I've found today (2017) is to use Homebrew and Cask to install osxfuse and sshfs. Note that Homebrew core deprecated all FUSE-related formulae in 2020 so you need to install sshfs from a tap:

brew install --cask macfuse
brew install gromgit/fuse/sshfs-mac

And then:

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

It works! :-)

ctietze
  • 143
eskatos
  • 2,128
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.

Ian C.
  • 45,969
  • 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 08:54
  • Transmit Disk has been removed as of Transmit 5.6.0 https://library.panic.com/transmit/transmit-disk/ – lazd Dec 10 '20 at 06:13
  • According to https://help.panic.com/transmit/transmit5/transmit-disk/, there is slight hope it might come back at some point later – ᴍᴇʜᴏᴠ Feb 08 '23 at 14:20
10

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.

nohillside
  • 100,768
avee
  • 543
6

As of March 2013, the current free software solution is macFUSE 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.

ang mo
  • 161
1
  1. Install VSCode
  2. Extensions - Install Remote - SSH (from Microsoft)
  3. Bottom left >< icon. Open remote window
  4. Map your remote drive e.g./home/joe
  5. Browse the directories in Explorer view
  6. Drag and drop to upload, right click and download as needed
Fakeer
  • 206
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

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.

gone
  • 703
  • 1
  • 10
  • 20
0

Given I cannot comment, I'll add to this answer that if you want to unmount the recently mounted sshfs disk, you need to execute:

umount <MOUNTPOINT>

The sshfs man page states that you should do fusermount -u <MOUNTPOINT> but that command doesn't exist in macOS

0

Just in case you are having problems unmounting the disk, you can unmount it simply writing

umount ~/mounted/folder

hope it saves some headache to someone else

  • Welcome to Ask Different. Could you edit this to elaborate how it addresses the question on how to mount? Be sure you complete the [tour] as well, it helps get the best reception when you participate. – bmike Nov 29 '20 at 18:51
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.

sorin
  • 29,875
-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.

Slam
  • 111
  • I wouldn't recommend ExpanDrive any more - my copy simply won't connect to anything at all (either basic SSH or Dropbox/Google etc. - repeated oauth errors for the latter) and didn't get anywhere with support. – William Turrell Jul 19 '21 at 10:41
-1

You can download CloudMounter from the Mac App Store.

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

Nimesh Neema
  • 51,809
-5

I use Filezilla, its free, connect as sftp.

nohillside
  • 100,768
Klas
  • 9