TortoiseGit cannot use the ssh-key generated by git and needs to be converted into a ppk public key, and then the first thing to do every day at work is to open Pageant, and then load the public key, which is troublesome. Now we set this repetitive thing as booting automatically start up
Generate ppk file
1. First find the bin directory of the TortoiseGit installation directory, then find puttygen.exe to run or open the start menu with the window key, search for puttygen and click to run
- Click Import key in conversions to load the ssh key file generated by git
3. After selecting, click the save private key button to save the generated ppk file.
Load ppk file
1. First find the bin directory of the TortoiseGit installation directory, then find pageant.exe to run or open the start menu with the window key, search for pageant and click to run, it will not directly pop up the box, you need to click on the taskbar to get the popup box 2
. Click the add key to choose to load the ppk file saved before, and just close it directly, so that you can use TortoiseGit to submit the code directly
But this is not our ultimate goal now, our ultimate goal is to be able to automatically start loading, let's go on to set
TortoiseGit (little turtle) sets pageant to start automatically at boot and automatically load SSH Key
1. First find the bin directory of the TortoiseGit installation directory, then find pageant.exe to run or open the start menu with the window key, search for pageant, right-click to open the folder location, create and copy a shortcut
2.window+r input shell:startup; click OK to put the copied shortcut into this directory
3. Find the shortcut in the right-click property
and spell the directory of the ppk file after the target
So far, we have completed generating the ppk file and setting the boot to start automatically. I hope it can help you. ps
: The screenshot in this article is for the window10 system, but it is applicable to other window systems