Date: Wed, 5 Sep 2012 19:38:54 +0200 From: OriS <site.freebsd@orientalsensation.com> To: freebsd-questions@freebsd.org, freebsd-fs@freebsd.org Subject: Auto-mounting sshfs from /etc/fstab Message-ID: <CALazp%2BWGnovF6yX74J2pcEqajeRvaO1K=GMjjyCVkD7t1U-Fvg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello all, I've been trying to find a page on the Internet where an example is posted explaining how to mount sshfs from /etc/fstab, but I can't find any! I'm on 9.1-PR amd64 and I've installed Fuse and sshfs, I have enabled Fuse in rc.conf and I can see /dev/fuse. Furthermore, using sshfs from the command line, I am even able to mount the remote file system. I can manually mount the remote file system using: *sshfs user@host:/ /mnt* Then, I do 'mount -p' and get: */dev/fuse0 /mnt fusefs.sshfs rw,sync 0 0* This isn't sufficient for mounting/unmounting from fstab since it's missing the authentication details I've used in sshfs. So.. the question is: How to add the authentication details to /etc/fstab so that I can mount the sshfs just by using: *mount /mnt* Thanks in advance, and kindly Cc me on your replies! /OriS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALazp%2BWGnovF6yX74J2pcEqajeRvaO1K=GMjjyCVkD7t1U-Fvg>