When trying to convert an SSH file, I got this error: Couldn't load private key (SSH-2 public key (OpenSSH format))

9,753

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.

Share:
9,753

Related videos on Youtube

Pyro Newman
Author by

Pyro Newman

Updated on September 18, 2022

Comments

  • Pyro Newman
    Pyro Newman over 1 year

    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.

  • Pyro Newman
    Pyro Newman over 5 years
    Okay, thank you. I already converted the private key.