8000 sshfs mount · roubles/macmounter Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
roubles edited this page Jul 23, 2015 · 3 revisions

To mount ssh shares, I use https://osxfuse.github.io/ that installs sshfs for you.

MOUNT_CMD=/usr/local/bin/sshfs roubles@example.com:/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 roubles@example.com:/someremotefolder /Users/roubles/somelocalfolder/ -oauto_cache,reconnect,volname=example

Note that in this case we are using ssh passwordless logins.

Clone this wiki locally
0