TortoiseGit (little turtle) sets pageant to start automatically at boot and automatically load SSH Key

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

Insert image description here

  1. Click Import key in conversions to load the ssh key file generated by git
    Insert image description here
    Insert image description here
    3. After selecting, click the save private key button to save the generated ppk file.
    Insert image description here

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
Insert image description here
Insert image description here
. 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

Insert image description here

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
Insert image description here

2.window+r input shell:startup; click OK to put the copied shortcut into this directory
Insert image description here

3. Find the shortcut in the right-click property
and spell the directory of the ppk file after the target
Insert image description here

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

Guess you like

Origin blog.csdn.net/qq_41194534/article/details/86478627