I have been unsuccessfully attempting to initiate passwordless ssh. The documentation I have been able to find has been a little spotty. As far as generating the public and private keys I have attempted two different approaches: 1. use puttygen to generate the keys; 2. use the server's ssh-keygen to create the key's. This introduces my first question. Is it important to generate the key's on the local machine? Most documentation I have seen indicates this step is to be done on the local machine but nothing states why or if this is mandatory.
From this point the process seems to be to move the public key to the server's .ssh folder and use the cat command to join authorized_keys and the new public key. As I understand at this point as long as the ssh program is configured to use the key then you should be able to login without password. Unfortunately I have not had success yet. Is my understanding of the process correct? What might be causing the setup to not work? I only have limited understanding of ssh so I feel a little bit like a fish out of water. Thanks for the help!
System Setup
- Local Machine - Windows 7
- Host Machine - *nix
Update
Upon further tests based on answers here the problem ended up being a compatibility issue between putty and openssh. I resolved this by generating the keys using the server (openssh) and then used puttygen to convert the key into a putty recognized format. From here I was able to utilize pageant to make the key available to tortoiseSVN. Thanks guys!