+
1 2 2
  1. #1
    Status
    Offline
      Rise Company
    Engineering and Technology
    Apr 2014
    Egypt
    3,998
    10

    SSH Unable to load private key file (not a PuTTY SSH-2 private key)


    SSH Unable to load private key file (not a PuTTY SSH-2 private key)
    100 %
    Error due to the new private key format of PuTTY 0.75 (PPK ver. 3)

    Introduction

    PuTTY 0.75 (or later) uses a new format for SSH private key (PPK version 3). PuTTY 0.74 or before can't read this format. As for PuTTY itself, this change is not a problem. However, this can be a problem for programs which use PuTTY internally. If the internal PuTTY version is not compatible with PPK version 3, the program can't use keys created with default setting of PuTTY 0.75.


    • WinSCP 5.19 (or later) can use PPK version 3 private key. If you are using an old version, please update WinSCP to the latest version. Or use PPK version 2 according to the following instructions.
    • (Jan 5, 2022) FileZilla 3.57.0 can use PPK version 3 private key. (3.54.1 couldn't use it)

    If you see error message like 'Unable to load key file "*.ppk" (PuTTY key format too new)' in other programs, there must be the problem of this private key file format issue.

    Workaround

    There are ways to avoid this issue. Also, FileZilla and other software will support the new format probably in the near future. You can wait for that time has come.

    • use PuTTY (PuTTYgen) 0.74 or before to generate key
    • use PuTTY (PuTTYgen) 0.75 (or later) to create PPK version 2 format key

    Private keys created with 0.74 can also be used in PuTTY 0.75. Please see below to create PPK version 2 private key with PuTTY 0.75.

    Generate PPK version 2 key with PuTTYgen 0.75 (or later)

    1. launch PuTTYgen
    2a. (click "Load" button to load existing private key)
    2b. (If you create a new key, choose type and click "Generate" button (and then mouse cursor around). OpenSSH type public key text should be saved in a txt file.)
    3. choose "Parameters for saving key files..." from "Key" menu

    4. select PPK version 2 as below and then click "OK".



    5. click "Save private key" of main window to save private key. (OpenSSH public key data won't be modified by this private key format change.)
    Note: you can change PPK file version before generating/loading key.

    3 2
    :
    https://ccportal.ims.ac.jp/en/node/2914

    ------------------------------------------------------------------------
    Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    # 1 Business Services

    Web Hosting - Business Emails

    Web Design - Google Adwords

    www.rise.company | www.rise.company/emails

    :
    ! .



  2. #2
    Status
    Offline
      Rise Company
    Engineering and Technology
    Apr 2014
    Egypt
    3,998
    10

    : SSH Unable to load private key file (not a PuTTY SSH-2 private ke

    ,
    https://www.chiark.greenend.org.uk/~...ty/latest.html


    ------------------------------------------------------------------------
    Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    # 1 Business Services

    Web Hosting - Business Emails

    Web Design - Google Adwords

    www.rise.company | www.rise.company/emails

    :
    ! .



  1. : 2
    : 19-01-2022, 23:54
  2. : 2
    : 19-01-2022, 23:54
  3. Public/Private Key putty whm
    Rise Company SSH / SFTP
    : 0
    : 13-01-2020, 04:32
  4. : 0
    : 29-06-2019, 21:17
  5. : 0
    : 20-02-2017, 22:30