sshfs mount - roubles/macmounter GitHub Wiki
To mount ssh shares, I use https://osxfuse.github.io/ that installs sshfs for you.
MOUNT_CMD=/usr/local/bin/sshfs [email protected]:/someremotefolder /Users/roubles/somelocalfolder/ -oauto_cache,reconnect,volname=example
In context this looks like:
[example.com]
MOUNT_TEST_CMD=ls -l /Users/roubles/somelocalfolder/ && /sbin/mount | grep -q "sshfs/somelocalfolder"
PING_CMD=/sbin/ping -q -c3 -o example.com
PRE_MOUNT_CMD=/sbin/umount -f /Users/roubles/somelocalfolder/; /bin/mkdir -p /Users/roubles/somelocalfolder/
MOUNT_CMD=/usr/local/bin/sshfs [email protected]:/someremotefolder /Users/roubles/somelocalfolder/ -oauto_cache,reconnect,volname=example
Note that in this case we are using ssh passwordless logins.