I have an Ubuntu 12.04 mediaserver at home. All the files are kept under a username of data at /home/data. My HTPC mounts the server via sshfs and connects using rsa keys. All was working fine until yesterday when I stupidly changed the file permissions of the user called data on the server. I changed the permissions to a+wrx /home/data (I can hear you all laughing) and now everytime I try to connect I am prompted for a the data@xbmc password.
I've googled around and tried changing permissions as suggested in a few posts, but nothing seems to put things back.
Here is the output for the server's permissions. Can anyone spot what I need to change?
- Code: Select all
drwxr-xr-x 2 data data 4096 Feb 10 09:44 .ssh
data@fileserver:/home/data/.ssh$ ls -l /home/data/.ssh
-rw-r--r-- 1 data data 392 Feb 10 09:44 authorized_keys
-rwxrwxrwx 1 data data 3915 Feb 2 15:56 authorized_keys.old
-rw-r--r-- 1 data data 391 Sep 13 17:55 id_rsa.pub
-rw-r--r-- 1 data data 222 Sep 15 11:29 known_hosts
Thanks for any help