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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.