2

I have a file name.ppk. I'm want to login ssh with .ppk file on Ubuntu Terminal.

I have try this post Login SSH with .ppk file on Ubuntu Terminal but getting this error "puttygen: error loading `name.ppk': PuTTY key format too new" when using this command line "puttygen name.ppk -O private-openssh -o name.pem"

Puttygen version: 0.73

Ubuntu version: 20.04

Shou
  • 21
  • 3
  • For anyone want to know the answer, you can read it [here](https://superuser.com/questions/1752675/how-to-install-puttygen-version-0-75-in-ubuntu-20-04/1770409?_gl=1*1cx59vf*_ga*NDU1NDg3MTYuMTY3ODg3MzYxOA..*_ga_S812YQPLT2*MTY3ODkzMzA1Ny4yLjAuMTY3ODkzMzA1Ny4wLjAuMA..#1770409). – Shou Mar 16 '23 at 02:21

1 Answers1

-1

If the source key was created with a newer version of PuTTY, then you will not be able to use PuTTYgen 0.73. This is because a new PPK format has been used since 0.75.

You will need to use a newer version of PuTTYgen or use ssh-keygen to create a Public/Private key pair.

matigo
  • 20,403
  • 7
  • 43
  • 70
  • For the first solution (update putty to version 0.75), I have read and try many way to install putty version 0.75 in ubuntu 20.04, but seem like ubuntu 20.04 just support putty version <= 0.73. Can you give me some guide to install putty version 0.75 in ubuntu 20.04. For second solution, I dont know how to do this. Can you give me some guide for this solution? – Shou Nov 14 '22 at 04:05
  • I do not use PuTTY, so cannot write any guide on how to install a more recent version with 20.04. That said, [this fine answer will show you how to use `ssh-keygen` to generate a new key pair](https://askubuntu.com/a/1435020/1222991) – matigo Nov 14 '22 at 04:22
  • 1
    I have file .ppk in my ubuntu but dont know anything in client computer. So how can I use this file with .ppk? I have read guide you give me but not understand. Can you explain for me? Thanks. – Shou Nov 14 '22 at 07:36