generating ssh keys on windows
In order to do some testing on a Windows machine, I needed to interface with Github/Bitbucket and wanted to use SSH to pull my code from the online repos. To do that, I first needed to create ssh keys. I found puttygen is the easiest way to do this. But make sure you:
- save the public and private keys in a directory under
c:\users\
(or wherever your home directory is) - save the private key as
id_rsa
- when you save the private key use the
Conversion
option in the toolbar and chooseExport OpenSSH key
.
The first time you pull down code, you’ll probably need to enter your ssh key’s passphrase. But after the first time, you shouldn’t have to enter the passphrase anymore.