I'm trying to enter an sshfs mount in /etc/fstab with the following line:
sshfs#oli@192.168.0.2:/media/usb0 /media/ExtHD fuse defaults,nonempty,allow_other 0 0
So that this volume is mounted at boot. After booting up, nothing happens, but when I use the command sudo mount -a, I am always prompted for the password. I have set up SSH Keys and transferred them over to the computer at 192.168.0.2, and can log in to regular ssh with no pasword. How can I stop fuse from asking for my password so that the volume can be automatically mounted at boot time?
If it helps at all, I am trying to connect to a home server running Debian from a laptop running Arch Linux. Thanks
~in the mount point. If you're using a launcher icon on the panel to run the command instead of a terminal, the~may not be evaluated as/home/and the command will fail. – Nick Jan 11 '14 at 18:47