The Computer Oracle

Getting Pageant to save keys files?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------

Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT


Music by Eric Matyas
https://www.soundimage.org
Track title: Realization

--

Chapters
00:00 Getting Pageant To Save Keys Files?
00:23 Accepted Answer Score 7
00:43 Answer 2 Score 4
00:53 Answer 3 Score 35
01:18 Answer 4 Score 11
02:30 Thank you

--

Full question
https://superuser.com/questions/367531/g...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #ssh #ppk

#avk47



ANSWER 1

Score 35


As mentioned already, you can add the key locations as command-line arguments to pageant. If you are running pageant from the Windows Start-Up folder, simply pass the key locations in as command-line arguments in the shortcut. For example:

"c:\program files\putty\pageant.exe" "c:\mykey.ppk"

For a comprehensive guide to setting this up, see the this page.




ANSWER 2

Score 11


The simplest way to do this in Windows is to create a specially crafted shortcut inside the Startup folder (Start -> Programs -> Startup):

Note: This only works if you did not set a password on your key

  1. go to Start menu, then "Programs", right click on the Startup folder and choose "Open"
  2. right-click inside the folder and select "New", then "Shortcut"
  3. browse to your PuTTY installation, for example "C:\Program Files (x86)\Atlassian\SourceTree\tools\putty" and select "pageant.exe"
  4. name the shortcut whatever you want
  5. right-click the newly created shortcut and select "Properties" You should see something like this: enter image description here

Append its full path to your "Target" field like so: Target: "C:\Program Files (x86)\Atlassian\SourceTree\tools\putty\pageant.exe" C:\Git\Key.ppk

You should now see:

enter image description here

This particular set up is for GitFlow and Jira.




ACCEPTED ANSWER

Score 7


Pageant cannot save the encryption keys for the key files. That would defeat the entire purpose of encrypting the keys in the first place...

However, if you edit the keys with PuTTYgen, you can store the keys unecrypted. Just leave the password field blank.




ANSWER 4

Score 4


You can add all keys in command-line, but passwords must be entered by hand