Tortoisegit uses a key with an extension of PPK instead of the RSA key generated by Ssh-keygen. That is to say, using ssh-keygen-c "[email protected]"-t RSA generated key is not available in Tortoisegit. For GitHub-based development, the RSA key must be used, so the tortoisegit Putty Key Generator tool is used to generate the PPK key for both GitHub and Tortoisegit. The configuration steps are as follows:
1) Run the Puttygen program in the Tortoisegit Start menu, as shown in
2) Click the "Generate" button, the mouse in the blank space to move back and forth until the progress bar is complete, will automatically give birth to a random key, as shown
If necessary, you can set the corresponding access password for the key, which is to modify the values of "key passphrase" and "Confirm passphrase".
3) Select, copy, and paste the contents of the Multi-line text box into the SSH public key of the GitHub account , which is the key for GitHub .
4) Click the "Save private key" button to save the generated key as the private key for Tortoisegit (extension. ppk).
5) Run the pageant program in the Tortoisegit Start menu, the program will automatically dock in the taskbar when it is launched, the icon appears, double-click the icon, pop-up Key management list, as shown
6) Click on the "add key" button to add the 4th step saved PPK private key, close the dialog box.
7) After the above configuration, you can use the tortoisegit for push, pull operation.
Software version used for the demo: Tortoisegit 1.5.2.0 (git version 1.7.1.msysgit.0, PuTTYgen 0.60)
"Highly recommended" How do I configure a key for Tortoisegit?