I am mounting my user filesystem in a server I connect to through SSH as a remote filesystem in my local Ubuntu machine.
For that I have been following the instructions in this tutorial.
The first part, mounting the system, works fine (though I have to remove the defer_premissions
option for it to work).
But I also tried the second part, editing /etc/fstab
to mount the remote filesystem on boot, and it made my system boot up in emergency mode.
The problem got fixed immediatly as soon as I removed the sshfs#root@xxx.xxx.xxx.xxx:/ /mnt/droplet
line from /etc/fstab
, so it looks like that is indeed the culprit.
How do I fix this to mount the remote filesystem on boot?
fstab
? I use SSHFS infstab
without problems. – muru Aug 17 '18 at 10:02sudo
steps from the tutorial? – George Udosen Aug 17 '18 at 10:23sshfs#jsevilla@machine.server.es:/home/jsevilla /mnt/talos
. I added it to the bottom of thefstab
file – Jsevillamol Aug 17 '18 at 10:24sudo mkdir /mnt/talos
,sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/talos
, checked that the filesystem was correctly mounted, thensudo nano /etc/fstab
and wrotesshfs#jsevilla@machine.server.es:/home/jsevilla /mnt/talos
at the end of the file – Jsevillamol Aug 17 '18 at 10:27sshfs#jsevilla@talos.gae.ucm.es:/home/jsevilla /mnt/talos fuse defaults,allow_other 0 0
; it has not worked :/ – Jsevillamol Aug 17 '18 at 14:30jsevilla@talos.gae.ucm.es:/home/jsevilla /mnt/talos fuse.sshfs defaults,allow_other 0 0
instead – muru Aug 18 '18 at 04:11IdentityFile
. – muru Aug 18 '18 at 11:27