cannot mount remote partition using fstab/fuse
- by HorusKol
Using a combination of http://ubuntu-tutorials.com/2007/01/02/mount-remote-directories-securely-with-ssh-ubuntu-6061-610/ and http://www.tuxfiles.org/linuxhelp/fstab.html I figured I could mount the root of another computer to somewhere on my new laptop to make it easier to transfer files and stuff.
Now, I can connect through SSH and browser the files through an ad-hoc mount - but I would like to be able to do this automatically, and so had a look at fstab.
my new entry in fstab is:
remote_comp:/ /var/remote_comp fuse defaults 0 0
but testing with mount -a results in the following error:
/bin/sh: remote_comp:/: not found
I thought the problem was because I was trying to mount the root of the other computer, but even trying sub-directories result in the same error message.