zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    三级连动的下拉框(数据库版)吐血推荐
    行排菜单
    用AJAX制作天气预
    XmlHttp实战学习中....
    ASP+JS三级连动下拉框
    ASP连接11种数据库语法总结
    oa数据库设计
    RSS PUBData 把正常时间函数转成rss2.0的标准
    浮点数的表示和基本运算
    C#4.0新特性:可选参数,命名参数,Dynamic
  • 原文地址:https://www.cnblogs.com/chucklu/p/15433314.html
Copyright © 2011-2022 走看看