I am trying to set up an SSHFS connection between two Ubuntu machines, using /etc/fstab so that they automount from the beginning.
I have created an .ssh directory in my home dir on both machines, I have created the id_dsa and id_dsa.pub files, and copied the keys over to each machine in a file called authorized_keys. I have set the directory permissions to 700 and the files to 600.
I have edited /etc/fuse.conf so that user_allow_other is uncommented.
This is the format of my entry in /etc/fstab on the client machine, which I got from here:
firstname.lastname@example.org:/home/myname /mnt/sshfs/homebox fuse comment=sshfs,noauto,users,exec,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks,BatchMode=yes 0 0
However, whenever I try to mount the server, I get this error:
fusermount: failed to open /etc/fuse.conf: Permission denied fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf
As mentioned, I have already uncommented user_allow_other, so this error is extra puzzling.
What else do I need to do?