After reading several howtos I managed to mount a remote ssh share through a command looking like:
Everything works fine: I can even open documents with Openoffice without any trouble.Code:sshfs -o idmap=user myusername@remote:/ ~/remote
Then I tried to add a permanent mount to my fstab adding the line:
as explained in https://help.ubuntu.com/community/SSHFSCode:sshfs#myusername@remote:/ /home/myusername/remote fuse defaults,idmap=user 0 0
but:
- if I try
the answer is "only root can mount..."Code:mount /home/myusername/remote
- if I try
I get "read: Connection reset by peer"Code:sudo mount /home/myusername/remote
What should I do to get it working?
Thanks
Edit:
Just in case somebody has the same problem, it can be solved by:
a) editing /etc/fuse.conf and uncommenting "user_allow_other";
b) using allow_other in fstab like this: sshfs#alenis@ufficio:<direcotry_to_mount> <mount_point> fuse user,allow_other 0 0



Adv Reply




Bookmarks