Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#12461 closed Bug report (fixed)

Unable to load Putty PPK Private key for SFTP connection while same works on CyberDuck

Reported by: Selva Owned by:
Priority: normal Component: FileZilla Client
Keywords: ssh, argon Cc: Selva
Component version: 3.54.1 Operating system type: OS X
Operating system version: 10.15.7

Description

The newly generated RSA 2048 key on Putty in Windows, and Mac is not loading on CyberDuck.

Steps:

  1. Generate a private key using PUTTY
  2. Open FileZilla
  3. Site Manager > New Site
  4. Select Logon type as 'Key file'
  5. select the attached PPK file from the ticket.

FileZilla will not accept the key nor display an error message. The same key works fine with https://cyberduck.io/

Attachments (1)

id_akamai_sftp_key_temp.ppk (1.6 KB ) - added by Selva 3 years ago.
privatekeyfile

Download all attachments as: .zip

Change History (10)

by Selva, 3 years ago

Attachment: id_akamai_sftp_key_temp.ppk added

privatekeyfile

comment:1 by Tim Kosse, 3 years ago

The key file format is too new. Please try the previous version of PuTTY.

comment:2 by Selva, 3 years ago

ok - we will try that workaround. Any idea when the issue will be resolved?

comment:3 by ocephaso, 3 years ago

In the latest version of PuttyGen, Go to Key in the top menu select Parameters for saving key file select the radio button for PPK file version 2 and press ok.
Then you can import the key and save as ppkv2 or create new keys in the old format.

Last edited 3 years ago by ocephaso (previous) (diff)

comment:4 by jferrell, 3 years ago

Keywords: argon added

in reply to:  3 comment:5 by jferrell, 3 years ago

Replying to ocephaso:

In the latest version of PuttyGen, Go to Key in the top menu select Parameters for saving key file select the radio button for PPK file version 2 and press ok.
Then you can import the key and save as ppkv2 or create new keys in the old format.

Thanks, good info here. I didn't know you could simply tell keygen to use the old format for now.

comment:6 by silmor_senedlen, 3 years ago

Good day,
Is there any plans to update Putty's components to support PPK v3 private key format?

Other popular FTP/SFTP apps already implemented it:
Cyberduck v8.0.0 (27.10.2021)
WinSCP v5.19 (25.11.2021)

comment:7 by Nalyzer, 3 years ago

I did a little digging and it looks like PuTTY PPK v3 was added in FileZilla 3.55.0:

  • PuTTY 0.75 is where PPK v3 was introduced ("Upgraded private key file format to PPK3")
  • FileZilla 3.55.0 is the first version that incorporates PuTTY components >= 0.75 (specifically beginning with PuTTY 0.76 starting with commit 10309)

I also empirically determined that FileZilla 3.55.0 successfully uses PPK v3, but FileZilla 3.54.0 does not.

Last edited 3 years ago by Nalyzer (previous) (diff)

comment:8 by Nalyzer, 3 years ago

Resolution: fixed
Status: newclosed

in reply to:  7 comment:9 by silmor_senedlen, 3 years ago

Replying to Nalyzer:

  • FileZilla 3.55.0 is the first version that incorporates PuTTY components >= 0.75 (specifically beginning with PuTTY 0.76 starting with commit 10309)

Thank you for investigation.
Looks like you're right.
In the current version (3.57.0) PPKv3 keys work.
But I am extremely surprised that such important change was not somehow highlighted in changelogs.
Most likely, this change was marked as "Updated SFTP components" in 3.55.0-rc1 (2021-07-02) update, but without analyzing commits it would be impossible to even guess what is included in this "update".
I hope in the future such important changes will be more clearly marked in changelogs .

Note: See TracTickets for help on using tickets.