The
following procedure creates a default identity with PuttyGen.
PuttyGen generates keys in its own format. So, rather than re-use
the file you created for use within GitBash, you'll create a
different key for TortoiseHG.
- Locate the puttygen.exe executaible in your system
and double click the icon to start it.
If you are following along with this tutorial, you installed
PuTTYgen in C:\Program Files\TortoiseHG. The system
opens the PuTTY Key Generator dialog.
- Complete
- Press Generate.
Following the instructions to generate some randomness.
- When the generation completes, the system displays the public
key and a number of other fields.
- Enter and confirm a key passphrase.
The system prompts you for a location to save the file and a
file name. By convention, store your key files in a folder
calledC:\Users\yourname\.ssh. and give it a
.ppk extension.
- Go ahead and close PuTTYgen.