git problem: When Git commits, it always prompts for key load failure, and always needs to manually add the key to pageant.

Source: Internet
Author: User

Problem Description:

Re-installed once the system, before the reload Git+tortoisegit well, the submission of the time can be automatically loaded PPK, but after reloading the system, but also regenerate Pulic key uploaded to the server, but each time the submission is prompted key load failed, The key must be manually loaded into the pageant to be submitted normally Problem Analysis:Each git project config file has saved the PPK address, after reloading the system to regenerate key, PPK save path and file name have changed, so the time of each commit, according to Config can not find PPK address, so error! Workaround:Open Tortoisegit->settings, then select Git->remote, select origin, and point to your new PPK file in Putty key
Reference URL: http://stackoverflow.com/questions/7068485/tortoisegit-and-pageant-have-to-add-key-every-time

All do very quick and easy if know the right places:

    1. Open up the ' tortoisegit > Settings ' in your project folder
    2. Navigate to "Git > Remote"
    3. Select the correct origin
    4. "Putty Key" > "..." > navigate to your *.PPK file
    5. voilá!

Or simply manually add a "Puttykeyfile" entry in the regarding "Some_project\.git\config" file:

[remote "origin"]    url = [email protected]:some_one/some_project.git    fetch = +refs/heads/*:refs/remotes/origin/*    puttykeyfile = C:\\Users\\some_one\\.ssh\\[email protected]\\id_rsa.ppk

git problem: When Git commits, it always prompts for key load failure, and always needs to manually add the key to pageant.

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.