Generate ssh keys on windows 8
If you are using an ssh client on windows to control a remote webserver and want to setup passwordless logins then you need to create ssh keys. The puttygen command from the putty suite can be used to generate keys in both putty and openssh formats.
Download the puttygen program from the following url
Now use the puttygen command to generate keys. Lets create an rsa key for example. Launch the puttygen.exe program. It will start a gui.
Click on the "Generate" button. Then it will ask to move the mouse over the window. Keep on moving the mouse randomly till the key generation is complete.
The text box will now contain the public key in openssh format that can be put into the "authorized_keys" file of openssh server. To get the private key click the menu Conversions > Export OpenSSH key.
Save the key by clicking File > Save private key.