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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to