Getting Pageant to save keys files?

Getting Pageant to save keys files?

回答1

ageant 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.

 

I don't think he's talking about saving the passwords for the keys. Pageant totally forgets about the entire existence of .ppk files it has loaded. Even ones without password protection. That's clearly stupid.
– Timmmm
Jul 19 '17 at 8:46

 

回答2

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.

 

回答3

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:

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:

This particular set up is for GitFlow and Jira.

 

回答4

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

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(33)  评论(0编辑  收藏  举报
编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2020-10-21 codedom roslyn compilation error
2019-10-21 Check if List<Int32> values are consecutive
2019-10-21 comparison of truncate vs delete in mysql/sqlserver
2016-10-21 Group By
2016-10-21 The property 'RowId' is part of the object's key information and cannot be modified.
2016-10-21 HashCheck
2016-10-21 File Checksum Integrity Verifier
点击右上角即可分享
微信分享提示