Forked from gmreburn/pageant-autoload-keys-at-startup.txt
Created
March 24, 2022 22:54
-
-
Save akochepasov/5cc93d56f9bcffeabe6d0fc171839cb9 to your computer and use it in GitHub Desktop.
Make Pageant autoload keys at startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To make Pageant automatically run and load keys at startup: | |
- Find the location of pageant.exe | |
- Windows key + R to open the 'run' dialog box | |
- Type: 'shell:startup' in the dialog box | |
- Create a shortcut to the pageant.exe and put into this startup folder. | |
- Right click on the shortcut and open 'Properties' | |
- In 'Target' add: "<route to>/pageant.exe" myprivatekeyname.ppk | |
- In 'Start in' add: "<route to myprivatekeyname.ppk>" | |
- Click on the shortcut link and check that Pageant has started and has loaded your keys | |
- Install (Git for Windows)[https://git-scm.com/download/win] | |
- Install (putty)[https://putty.org] | |
- Set environment variable to use putty's plink `set GIT_SSH=C:\Program Files\PuTTY\plink.exe` | |
### | |
Method Two | |
Install (Git for Windows)[https://git-scm.com/download/win] | |
Install (putty)[https://putty.org] | |
Open puttygen and generate new key | |
save the public key as id_rsa.pub under %homepath%\.ssh | |
save the private key as id_rsa under %homepath%\.ssh | |
add the public key to github account | |
To test github ssh: | |
- # ssh -T [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment