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!
Category: Blog, Tech 17 comments »
November 1st, 2007 at 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.
November 1st, 2007 at 11:03 am
Hey Steve, glad I could help :)
November 1st, 2007 at 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
November 1st, 2007 at 11:32 am
Great, Oscar! Boy, those few days after I installed Leopard but before sshfs was updated were rough.
November 2nd, 2007 at 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.
November 5th, 2007 at 4:03 am
thanks! great hint!
June 3rd, 2008 at 11:01 am
Thanks kara, I can’t believe I didn’t think of this! I was certain sshfs was broken.
June 22nd, 2008 at 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 :(
June 22nd, 2008 at 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.
June 22nd, 2008 at 2:00 pm
Thanks Kara, it worked! Thanks a bunch and have a good day!
June 22nd, 2008 at 2:29 pm
So glad it worked! I figured it out that trick by trial and error and tearing out my hair :)
September 14th, 2008 at 9:49 am
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?
September 14th, 2008 at 9:51 am
Gordon, just making sure — you tried editing .ssh/known_hosts and then running ssh in terminal?
September 14th, 2008 at 9:54 am
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.
September 14th, 2008 at 9:54 am
Oops, Kara commented before :)
September 2nd, 2012 at 2:34 pm
Thanks a lot! I should have seen your page 2 hours ago. God bless you!
September 2nd, 2012 at 3:54 pm
Heh, glad this was helpful.
It stopped working in Lion and didn’t think to check in Mountain Lion… Maybe it works again.