"Highly recommended" How do I configure a key for Tortoisegit?

Source: Internet
Author: User

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?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.