I am following these steps in setting up a public/private key set on my server:
Modify the permissions on the public key by entering the following commands, one by one, on your Linode. Replace example_user with your username.
chown -R example_user:example_user .ssh
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
But when i do the first line
chown -R david:david .ssh
I get the error message:
changing ownership of '.ssh/authorized_keys': Operation not permitted
I have followed the steps of the guide, except the fact I am using windows so I had to use windows scr to upload the public key rather than the unix command line.
Here are the file information bits:
File: `.ssh/authorized_keys'
Size: 294 Blocks: 8 IO Block: 4096 regular file
Device: EDITED OUT Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2013-03-17 16:32:06.000000000 +0000
Modify: 2013-03-17 16:32:06.000000000 +0000
Change: 2013-03-17 19:06:14.000000000 +0000
.ssh
folder on? Does the filesystem support ownership? Some don't, (e.g. fat, some network fs, etc).