81

In the past I used SSHFS to mount drives, so I could easily work on remote machines with software from my machine. However, when I was at the MacFUSE project page, I noticed that SSHFS has been long since deprecated.

What are people using with Mountain Lion to mount drives? Is it built-in to OSX yet, or has some other project completely replaced the functionality brought to us by SSHFS?

Any suggestions are greatly appreciated.

EDIT: In the past I used "SSHFS GUI" to mount drives. It looks very similar to the the Finder >> Go >> Connect to server... interface.

+1 -> m01 - I'm currently using your solution, but if anyone knows a GUI I would love to hear about it.

Zak
  • 12,213
  • 21
  • 59
  • 105
  • good question, as i've been looking for answer to it also for a while. – Tom Oct 02 '12 at 11:55
  • "Software tools commonly used by programmers" means *software that I use to accomplish programming tasks*, not *software that I happen to use, and I'm also a programmer.* – glomad Jan 16 '13 at 18:02
  • 10
    The software in question is a utility to enable a developer to easily attach to a remote server and use their native IDE for development. Therefore, it is dissimilar from a question about iTunes, where someone likes to listen to music while developing. – Zak Jan 17 '13 at 00:20
  • 43
    This is a software tool very widely used for programming. This is IMHO an unfair call from the SO community. – El Developer Jan 29 '13 at 04:11
  • Guys, just use Flag: request moderator attention, type: move to apple site. – sorin Jul 22 '13 at 09:48
  • should be short answer here: `brew install sshfs`. We are @ SO! – Jakub Nov 08 '13 at 08:59
  • I recently forked the GUI you mentioned: https://github.com/dstuecken/sshfs-gui You may would like to give it a try as well? – Dennis Stücken Sep 20 '14 at 12:33

3 Answers3

73

OSXFUSE seems to work. I just downloaded the two OSXFUSE and SSHFS packages from http://osxfuse.github.com (the links are on the right hand side), and ran:

sshfs user@host:/dir /mnt/somelocaldirectory

EDIT: if you want a GUI, you might want to try sshfs-gui, though I haven't tried it myself.

Personally, I'd use Cyberduck, though it doesn't technically do the same as what SSHFS does, but maybe it's enough for your purposes. It will let you browse files that you can access via an ssh connection, and seems to have options for editing them as well.

m01
  • 9,033
  • 6
  • 32
  • 58
  • +1 This works, but I am still looking for a GUI. Thanks! – Zak Jan 08 '13 at 18:54
  • You're welcome! I didn't realise you were looking for a GUI - I've updated my answer accordingly. The SSHFS GUI page suggests that it should work with OSXFUSE in MacFUSE compatibility mode.. – m01 Jan 09 '13 at 13:43
  • 1
    MacFusion works great for me, see this fork: https://github.com/elDeveloper/macfusion2/ – El Developer Jan 29 '13 at 04:10
  • +1 for Cyberduck. Works just fine for me. – plang Nov 27 '13 at 08:34
9

According to the OSXFuse wiki, you can use Macfusion with a simple tweak, e.g. moving the old sshfs-static and linking it to the new one by OSXFuse as below. I've done this and it works fine.

cd /Applications/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources
mv sshfs-static sshfs-static.orig
ln -s /usr/local/bin/sshfs sshfs-static
pyrospade
  • 7,870
  • 4
  • 36
  • 52
Habi
  • 1,157
  • 6
  • 18
  • 3
    A patched version of MacFusion for 10.8 is available [here](http://patjack.co.uk/macfusion-64-bit-ready-for-lion-mountain-lion/). – Anjan Jan 24 '13 at 08:36
6

Back in the Leopard days, I was using SSHFS as well, and it worked ok, as long as you didn't push it too hard (large files or spotty network coverage).

I just setup Expandrive on my new Retina MBP and it works pretty well. (auto re-connects on wake, no hiccups). All I had to do was to register my SSH agent ssh-add -K for the private key, and it's been smooth sailing so far.

I've tried on both Lion and Mountain Lion, and it seems to work pretty well. For $40, it's totally worth it to me.

r00fus
  • 2,524
  • 2
  • 16
  • 16
  • 7
    +1 Thank you for the answer, but I'm a poor college student and I need an open source or free solution. – Zak Jan 16 '13 at 00:13
  • 1
    40$ to do the same thing as a one-line command on your terminal ? Sounds like a waste of money to me but each to his own ! – xApple Apr 16 '14 at 13:27