Created
June 20, 2017 10:51
-
-
Save chunter/3ec25dd802c2163265eacfcb6f53cb7d 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 |
You may also find this guide for setting up KeePass + KeeAgent for WSL 2 SSH interesting:
https://gist.github.com/strarsis/e533f4bca5ae158481bbe53185848d49
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it - indeed very promising. Meanwhile, I looked into this fork, which has several updates (not yet tested):
https://github.com/KerickHowlett/wsl2-ssh-bridge
EDIT1: I like Pageant, because it supports WinSCP, too, and I was not aware if there are alternatives for this, too.
EDIT2: Might be helpful, too:
https://gist.github.com/dinvlad/a62d44325fa2b989a046fe984a06e140