Tortoisegit key Configuration

Source: Internet
Author: User

Tortoisegit uses a key with the PPK extension instead of an RSA key generated by SSH-keygen. That is to say, keys generated using SSH-keygen-c "username@email.com"-t rsa are not available in tortoisegit. The RSA key is required for GitHub-based development. Therefore, the putty key Generator tool of tortoisegit is required to generate a 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 "generate" and move the cursor back and forth in the blank area until the progress bar is complete. A random key is automatically generated, as shown in

If necessary, you can set the corresponding access password for the key, that is, modify the values of "key passphrase" and "Confirm passphrase.

3) Select and copy all the content in the multi-line text box and paste it to the SSH public key of the GitHub account. This is the public key applicable to GitHub.

4) Click "Save Private Key" to save the generated key as the private key (with the extension. PPK) applicable to tortoisegit ).

5) run the pageant program in the tortoisegit Start Menu. After the program is started, it will be automatically docked in the taskbar. the icon is displayed as. Double-click the icon to bring up the key management list, as shown in

6) Click "add key" to add the PPK Private Key saved in step 1. Close the dialog box.

7) after the above configuration, you can use tortoisegit for push and pull operations.

Related Article

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.