SSH Private Key - Supported Formats

SSH Private Key - Supported Formats

avatar

Hi guys,

If I use the key generator the following key formats are supported:

OpenSSH
Putty
PKCS1
PKCS8

If I want to save the generated private key, the following file types are supported:

PKCS#1 / OpenSSH (.key)
PKCS#8 (.pri)
Putty (.ppk) 


After adding e.g. a key with format Putty but file type .key - I can see that key in the key management.
» is mixing format and file type supported? (Putty.key // OpenSSH.ppk)

Question: If I want to add my private key to my personal credentials, the only "supported" file types are:

.pri
.ppk


Is there a reason why .key is missing?

  • I have to select "All files" to select my "private.key"


Would you recommend a combination for a private key to use with ssh in RDM?

RDM on Windows 2023.2.33.0 64-bit



Thank you!

Best regards,
Tobi

All Comments (4)

avatar

Hello,

When saving your Putty key, you can select what file type you want to use:

8b1c84aa-8735-4c95-966c-455b59317bc8

I would recommend using the PuTTY Private Key (*.ppk) file type if you selected Putty as the key format:

076b3f08-c2fa-4943-9aa5-e1f8a10e0f1a

Then you should be able to import that file into your personal credentials.

Best regards,

076b3f08-c2fa-4943-9aa5-e1f8a10e0f1a.png

8b1c84aa-8735-4c95-966c-455b59317bc8.png

avatar

Hello,

In addition to what my colleague mentionned, we will also add the ".key" file extension to that file selection dialog. I consulted our terminal expert and there's no reason not to have this choice as it should be supported.

Regards,

Hubert Mireault

avatar

Hello William, hello Hubert,

Thanks for the information and adding *.key to future releases.


Best regards,
Tobi


[Edit] Is there a way to mark that thread as solved? [/Edit]

avatar

Hello,

This feature as been completed internally and will be available starting from the version 2024.1.1.0 of RDM.

Regards.