[K12OSN] SSHFS and RSA keys
Petre Scheie
petre at maltzen.net
Thu Sep 14 15:15:34 UTC 2006
Bert Rolston wrote:
> Hi folks,
>
> Thanks for your input.
>
> I've got permissions sorted on the server so that Linux and Windows
> clients behave the way I want.
>
> I generated the rsa keys as per the following article
> http://www.linuxjournal.com/article/8904
>
> I've run the suggested test from the article to see if the keys work.
> BUT WAIT, I still have to type in my password!?!?!?!?!?
> Should I have entered a passphrase when creating the keys?
>
No, don't create a passphrase when creating the keys.
> I've created the key on the server and copied the public to my machine
> (/home/bert/.ssh/Authorized_keys). No joy.
>
This isn't what you want.
> I've created the key on my machine and copied the public key to my
> server (/home/bert/.ssh/Authorized_keys), No joy.
>
This is the process you want, since the connection is going from your machine to the
server. Check the permissions on the server; specifically, make /home/bert 700, make
/home/bert/.ssh 700, and make /home/bert/.ssh/authorized_keys 600. Having group read &
write permissions at one of the levels (I forget which) will prevents it from working.
Also note that the first letter of authorized_keys is not capitalized--that might be
your problem.
Petre
More information about the K12OSN
mailing list