Auto-mounting sshfs from /etc/fstab

andrew clarke mail at ozzmosis.com
Wed Sep 5 21:43:41 UTC 2012


On Wed 2012-09-05 19:38:54 UTC+0200, OriS (site.freebsd at orientalsensation.com) wrote:

> 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!

Have you tried running sshfs from cron?  eg. run "crontab -e" as a
regular user and add:

@reboot  /usr/local/bin/sshfs remotehost: $HOME/mnt/remote

Note: Untested.


More information about the freebsd-questions mailing list