Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save satrapu/37439b1b9a9f9e5d04550c9add45a1a3 to your computer and use it in GitHub Desktop.
Save satrapu/37439b1b9a9f9e5d04550c9add45a1a3 to your computer and use it in GitHub Desktop.
Make Pageant autoload keys at startup
Prerequisites:
- Install PuTTY by following the steps found here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html.
- Generate your SSH private/public key pair
- Convert the SSH private key to ppk format using puttygen.exe, file located in the same folder where you have installed PuTTY
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment