ARGH! SSHFS Help.

Soldato
Joined
16 Dec 2005
Posts
14,443
Location
Manchester
ARRRGH!

Right, with that out the way - anyone here know how to make sshfs useful?

I followed a guide here: http://ubuntuforums.org/showthread.php?p=3567625#post3567625

I have got to the part where it says

Code:
sudo ls /foldername

And sure enough, it works and I can see the contents of the folder I created [remote].

Now, next question is, what possible use is it to me if I can't even CD into the bloody folder. "remote" doesnt even show up as a folder in Nautilus so can't access it that way. I can't even open the files in Gedit!

Now I know I don't HAVE to mount a folder through ssh etc, but it is something I want to know how to do, and so far it's bloody useless :p
 
It says I don't have permission.

I'm gonna knock it on the head for now, as it somehow managed to nuke the folder I was trying to mount. Luckily I had a backup.
 
In that case the required permissions have not been met. What are the permissions on the folder, who owns it, and who is trying to connect. (users/groups) Remember as well that over w linux machines say although the user may match, the UID may be different, and this would affect things. Someone correct me if I'm wrong.
 
I think it was something to do with ssh keys. The article I linked to went on to set up "passwordless" connection. And from the examples at the end "sudo" was no longer needed to ls the folder.

However, I couldn't get it to work. Probably my swinging headache but the article is so bloody vague in places.

For now I have just settled for sharing the folder on my "server" machine and have it mounted on my other machine. I don't really need security as it is all over my home network and is limited to just one IP.

Be nice to to get sshfs to work, as it would open the door for me to access my stuff securely over the web. I have no pressing need for this as yet so will knock it on the head until such a time I am better at linux, or there is a guide out there that doesn't assume you are omnipotent.
 
Back
Top Bottom