key_load_public: invalid format

前端 未结 10 2608
滥情空心
滥情空心 2020-12-22 15:23

I used PuTTY Key Generator to generate a 4096 bit RSA-2 key with a passphrase.

I save the .ppk and an openSSL format public key. The putty format public key doesn\'t

10条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-22 16:09

    There is a simple solution if you can install and use puttygen tool. Below are the steps. You should have the passphrase of the private key.

    step 1: Download latest puttygen and open puttygen

    step 2: Load your existing private key file, see below image

    step 3: Enter passphrase for key if asked and hit ok

    step 4: as shown in the below image select "conversion" menu tab and select "Export OpenSSH key"

    Save new private key file at preferred location and use accordingly.

提交回复
热议问题