How to automount SSHFS volumes with FUSE OS X on Mavericks Iv'e managed to get my ssh volumes mounted with SSHFS via the command line but would really like is to have them auto mount on login. So far, I've set up a launchAgent to run a shell script that contains the commands I would use in the terminal. That contains:

mkdir /Volumes/mysshfsvolume
sshfs blah blah blah


This works via the terminal but when the launchAgent loads, It seems momentarily mount the volumes and then they disappear.

I have seen other older solutions that include editing the /etc/fstab, AppleSrcipt and automator but I am looking for a Mavericks related solution. I have actually found a way around it using ControlPlane but just wondering if anybody has more extensive knowledge of how automount works on Mavericks. TIA.

Just to add some information, I'm not too familiar with the systems that I'm logging into but one is a SUN Solaris and the other is a RHE linux server.

I also tried just adding the script to my login items and it works for the linux connection but not the SUN server.
I have using Homebrew and its sshfs bundle to mount SSH filesystems on my Mavericks Mac for a while now, it has been solid.

So if you run Homebrew go ahead and try the following to install sshfs: brew install sshfs. Then maybe reboot (?) and once you're back sshfs &lt;username&gt;@&lt;hostname/IP&gt;:&lt;remote-path&gt; &lt;local-path&gt;. You will get a password prompt at this point if you're using that kind of authentication. If you're using SSH keys then probably no prompt.

Update: maybe you should modify your bash script to use nohup. it sounds almost like the process dies after it runs your bash script. checkout nohup on wiki or man nohup.