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:
- Open up the ' tortoisegit > Settings ' in your project folder
- Navigate to "Git > Remote"
- Select the correct origin
- "Putty Key" > "..." > navigate to your *.PPK file
- 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.