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#[email protected]:/ /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 infstabwithout problems. – muru Aug 17 '18 at 10:02sudosteps from the tutorial? – George Udosen Aug 17 '18 at 10:23sshfs#[email protected]:/home/jsevilla /mnt/talos. I added it to the bottom of thefstabfile – Jsevillamol Aug 17 '18 at 10:24sudo mkdir /mnt/talos,sudo sshfs -o allow_other [email protected]:/ /mnt/talos, checked that the filesystem was correctly mounted, thensudo nano /etc/fstaband wrotesshfs#[email protected]:/home/jsevilla /mnt/talosat the end of the file – Jsevillamol Aug 17 '18 at 10:27sshfs#[email protected]:/home/jsevilla /mnt/talos fuse defaults,allow_other 0 0; it has not worked :/ – Jsevillamol Aug 17 '18 at 14:30[email protected]:/home/jsevilla /mnt/talos fuse.sshfs defaults,allow_other 0 0instead – muru Aug 18 '18 at 04:11IdentityFile. – muru Aug 18 '18 at 11:27