Puttygen openssh conversion

This article will describe why Upsource doens't accept private keys generated in PuTTY and what to do in such cases.

Symptoms:

When creating a new project in Upsource, you get to choose one of the following authentication methods to access your VCS: Anonymous, Password or SSH key. In case of SSH key, private key and passphrase(if any) should be provided. After that, while testing connection you might get the following error:

Test VCS connection failed.

List remote refs failed: com.jcraft.jsch.JSchException: Error while loading an uploaded key 'the-key': invalid privatekey

Solution:

Puttygen openssl

Puttygen openssh public key

Puttygen latest version

Puttygen key conversion

Puttygen openssh convert