I have done this before, but so long ago, and cannot recall the gory details. The following is what I remember. However, the key is refused by puTTY. Tell me where I am going wrong.
On Ubuntu linux under root, I am creating the keypair using: <ssh-keygen -t rsa>. While in ssh-keygen, I chose ~/.ssh as the location. Then, I made the permission for the .id_rsa private key as: <chmod 700 id_rsa>. I see the two keys in my .ssh directory.
Still in Ubuntu, I created an authorized_keys file in .ssh with: <touch authorized_keys>. Then I copied the .pub file into authorized_keys with: <cat id_rsa.pub >> authorized_keys.
I do not know what the permissions should be for the key files and the authorized_key file. I am not sure where the authorized_keys file goes.
I am certain that the private key id_rsa remains in the .ssh folder under the user (~/.ssh/id_rsa).
Finally, I am assuming that I should ftp the .pub key to my Windows 7 machine, somehow puTTY will use that file to put the key into a local Windows file named: c:\putty\ privatekeys.pkk.
Someone please tell me where I am going wrong. Thanks in advance.