sshfs with RSA keys on OS X using MacFUSE

MacFUSE is nifty, and in particular supports sshfs for mounting filesystems from ssh-accessible remote boxes.

However, I found today that using the GUI always asks you for your “ssh password”. I don’t use a ssh password; indeed, all my boxes have password tunneling disabled: you can only log in via keys. The GUI didn’t/doesn’t seem to be key-aware.

Thankfully, the command-line version (sshfs-static) mentioned on the wiki page linked above is aware – so I succeeded in mounting my remote fs using:

Applications/sshfs.app/Contents/Resources/sshfs-static om: om \
-oreconnect,volname=om

I’ve set up an alias for that in my .zshrc and am now in sshfs happiness land.

(Oh yes, perhaps I should have mentioned: I’m using OS X now, for my desk/laptop needs at least. More on this as time progresses, no doubt.)