Mastodon sshfs works in Leopard!!! —

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 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!

Category: Blog, Tech 17 comments »

17 Responses to “sshfs works in Leopard!!!”

  1. Steve K

    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

    Hey Steve, glad I could help :)

  3. Oscar C.

    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

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

  5. Mike Nicholson

    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

    thanks! great hint!

  7. Morten

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

  8. Anil

    I have installed MacFUSE and 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 just fine. sshfs is not for me :(

  9. kara

    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

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

  11. kara

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

  12. Gordon

    Now my hair is torn out… I have installed everything as instructed (twice – on separate computers), and sshf does not ask for a password. I wave tried all the tricks presented here. No password prompt, no errors, no mount point in Volumes, no nothing… I am at a loss. Anyone else have this problem? how did you fix it?

  13. kara

    Gordon, just making sure — you tried editing .ssh/known_hosts and then running ssh in terminal?

  14. pizte

    Gordon, that’s SSHFS fault, the reason ( I bet 99% probabilities) is that you never connected through ssh to your machines, so MacOS doesn’t have the RSA Keys, and SSHFS does not parse it .

    Solution: Start terminal and enter through ssh to one of the machines, it will ask you if you accept the RSA Key, say yes, then one you’re inside disconnect and try running SSHFS, it should be running ok.

  15. pizte

    Oops, Kara commented before :)

  16. Elham

    Thanks a lot! I should have seen your page 2 hours ago. God bless you!

  17. kara

    Heh, glad this was helpful.

    It stopped working in Lion and didn’t think to check in Mountain Lion… Maybe it works again.

Leave a Reply

Back to top