I'm attempting to automount a directory from a remote Ubuntu machine on my Mavericks Mac. SSHFS works perfectly when mounted manually, in many different ways. The standard sshfs mount works great:
sshfs user@desk:/home/user desk
and I can even use
sudo mount -t sshfs -o allow_other,IdentityFile=/Users/user/.ssh/nopass_id_dsa email@example.com:/home/user desk
(I followed the OSXFuse automounting instructions to set up
I want to turn this into an automount. The easiest, recommended by OSXFuse way is to turn the above
mount command into an
firstname.lastname@example.org:/home/user /Network/desk sshfs allow_other,IdentityFile=/Users/user/.ssh/nopass_id_dsa 0 0
but that doesn't work:
Network $ sudo mount desk mount: desk: unknown special file or file system.
Similarly, if I do
sudo automount -vc then I either get a long timeout or an unhelpful "Operation not permitted" error when I try to enter the mount point, depending on how I play with the formatting of fstab options. I get the same errors when I try to set up an automount map, as described here.
What's wrong with my fstab entry? Or, how else can I automount sshfs on OSX?
(I'm on 10.9.5 with sshfs 2.5.0 from homebrew)