Skip to content

Instantly share code, notes, and snippets.

@zakkak
Last active December 10, 2015 21:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zakkak/4492739 to your computer and use it in GitHub Desktop.
Save zakkak/4492739 to your computer and use it in GitHub Desktop.
Notes on how to add an sshfs folder to fstab
/etc/fstab
==========
`sshfs#myname@www.myhome.com:/home/myname /mnt/sshfs/homebox fuse comment=sshfs,noauto,users,exec,workaround=rename,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0`
/etc/fuse.conf
==============
`user_allow_other`
umount
======
`sudo ln -s /sbin/mount.fuse /sbin/mount.fuse.sshfs`
`myname@www.myhome.com:/home/myname /mnt/sshfs/homebox fuse.sshfs comment=sshfs,noauto,users,exec,workaround=rename,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment