I have downloaded an SSH RSA key .pub file, and I have attempted it to convert it in the PuTTY Key Generator. However, I have had problems with converting it due to an error loading the key. The error I got while trying to convert it was: Couldn't load private key (SSH-2 public key (OpenSSH format)). I need to use SSH for command typing.

1 Answer 1


You need the private key. You can't use the public key to compute a private key, that is the whole point of private/public key cryptography.

Get the file without the .pub extension.

  • Okay, thank you. I already converted the private key. Aug 29, 2018 at 17:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .