sshfs works in Leopard!!!

Got Leopard? It took a few days for the google coders to bring sshfs and macfuse up to speed, but it works now! I’ll just paste my instructions from a few months ago. They’re all the same but the Finder in Leopard does not show mounted servers in the sidebar automatically anymore. I thought sshfs wasn’t even working! The solution is to go into Finder preferences and tell it to show connected servers on the desktop. Then drag the server from the desktop to the Devices area in the Finder sidebar. Drop it when you see a nice blue line and wait a few seconds for it to show up. Voila!

How to install sshfs on your mac:

Do you have a mac? Do you use ssh, scp, or ftp frequently, perhaps to and from your personal server? If so, you’ve got to try MacFUSE:

MacFUSE implements a mechanism that makes it possible to implement a fully functional file system in a user-space program on Mac OS X (10.4 and above).

Ok, I know that sounds pretty dry, but stay with me. When Dan first told me about MacFUSE I was not particularly interested. It doesn’t sound nearly as useful as it is! He installed it, and sshfs, on my Macbook and I started using it and fell in love. If I need to copy a recording over to my webspace, I just drag it over in Finder. When I need to update a podcast feed, rather than ssh in and use vi to edit (or worse, to ftp the file back and forth), I just double-click the file in Finder and it opens in my local texteditor (SMULTRON). (And next time I can just Open Recent from the File menu!) I can’t tell you how useful it is. Today I installed it on my iMac, and, though it may sound a bit daunting, it’s easy — anyone can do it.

Go to http://code.google.com/p/macfuse/downloads/list. Download the MacFUSE Core Installer Package dmg and the sshfs filesystem dmg. Install the MacFUSE core first, and then sshfs. Run sshfs. It’ll ask you for a server and a username, and then a password. Once you’ve connected to your server, it’ll show up as a drive in Finder, just as if you had an external hard drive plugged in. You can quit sshfs now. Now you can use your mounted server just as if it were a local box!

11 Comments »

  1. Steve K said,

    November 1, 2007 @ 10:19 am

    Thanks for the tip on showing connected servers on the desktop, and dragging to the Finder. Great stuff. I thought something was wrong with sshfs too.

  2. kara said,

    November 1, 2007 @ 11:03 am

    Hey Steve, glad I could help :)

  3. Oscar C. said,

    November 1, 2007 @ 11:27 am

    Thank you very much! I tought that sshfs didn’t work in Leopard but it was me that disabled the “Show connected servers” (stupid stupid stupid!)

    By the way, very nice post, and i fell in love with sshfs too :P

  4. kara said,

    November 1, 2007 @ 11:32 am

    Great, Oscar! Boy, those few days after I installed Leopard but before sshfs was updated were rough.

  5. Mike Nicholson said,

    November 2, 2007 @ 2:14 pm

    Thanks for posting this! You saved me a bunch of time that I’d otherwise have spent bumbling around confused as to why my connected servers weren’t showing up in finder.

  6. Marc said,

    November 5, 2007 @ 4:03 am

    thanks! great hint!

  7. Morten said,

    June 3, 2008 @ 11:01 am

    Thanks kara, I can’t believe I didn’t think of this! I was certain sshfs was broken.

  8. Anil said,

    June 22, 2008 @ 1:04 am

    I have installed MacFUSE and SSHFS.app. When I run the app, it asks me the servername and username, which i enter and then it asks me the password. I enter the correct password, press enter (or ok button) and the “enter password” box comes up again. There are no errors displayed, no other questions asked. I’ve checked the password, I can connect to my server using Terminal.app just fine. sshfs is not for me :(

  9. kara said,

    June 22, 2008 @ 8:10 am

    Anil, if that happens to me I fix it by editing .ssh/known_hosts . Remove the line that applies to your server, save, quit. Now run terminal and attempt to login — it’ll tell you the fingerprint changed. Accept with “yes”. Now you can quit terminal and sshfs should let you log in just fine.

  10. Anil said,

    June 22, 2008 @ 2:00 pm

    Thanks Kara, it worked! Thanks a bunch and have a good day!

  11. kara said,

    June 22, 2008 @ 2:29 pm

    So glad it worked! I figured it out that trick by trial and error and tearing out my hair :)

RSS feed for comments on this post

Leave a Comment