PuTTY SSH Key Authentication – Fix ‘PuTTY Key Format Too New’ Error

bashputtysshunix

I wanted to connect to my Unix server using SSH keys. For that I had converted my id_rsa file from ./ssh directory to a ppk file using PuTTYgen, but after loading my .ppk key I get this warning:

PuTTY key format too new

enter image description here

If I use my default id_rsa file, then I get error:

OpenSSH SSH-2 private key (old PEM format)

Either way I am getting stuck. Can anyone please help me?

Best Answer

If you have a key in the new PPK version 3 format, you can use PuTTYgen to export it to the old PPK version 2 format.

I don't know what Operating System you're using PuTTYgen/PuTTY on, but if it's Microsoft Windows you can set PPK Version 2 by default for PuTTYgen selecting in the app menu:

Key->Parameters for saving key files...->PPK file version: 2.

PuTTYgen: Private Key File Parameters

Related Question