How to convert SSH keypairs generated using PuTTYgen (Windows) into key-pairs used by ssh-agent and Keychain (Linux)

前端 未结 9 1331
抹茶落季
抹茶落季 2020-11-22 14:25

I\'ve generated key pairs using PuTTYgen and been logging in using Pageant, so that I have to enter my pass-phrase only once when my system boots.

How do I achieve

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 15:16

    Alternatively if you want to grab the private and public keys from a PuTTY formated key file you can use puttygen on *nix systems. For most apt-based systems puttygen is part of the putty-tools package.

    Outputting a private key from a PuTTY formated keyfile:

    $ puttygen keyfile.pem -O private-openssh -o avdev.pvk

    For the public key:

    $ puttygen keyfile.pem -L

提交回复
热议问题