Support elliptic curve SSH keys

aeris shared this idea 7 years ago
Completed

Currently, only RSA keys are usable, not the ECDSA (OpenSSH 5.7) or ED25519 (OpenSSH 6.5) format.

Replies (2)

photo
1

Hi aeris,


We'll add this support into next release, thank you for your idea.

photo
1

Hi aeris,

We built a test version to support these formats, you can test it yourself. Download link

This is Ubuntu version, if you want another platform, please contact us.

photo
1

Hello !

Tested 2.3.4 this day. ECDSA key is correctly handle.

Thanks.

photo
1

Hi !


Test for ED25519 on 2.3.4. Doesn’t work, key format is unknow.

  1. "message" : "Cannot parse privateKey: Unsupported key format",
  2. "stack" : "Error: Cannot parse privateKey: Unsupported key forma" +

    "at Client.connect (/opt/mongobooster/resources/app.asar/node_modules/ssh2/lib/client.js:224:13" +

Regards,

photo
1

Hi,


It took me some time to find this issue https://github.com/openssl/openssl/issues/487

The package we use depends on openssl. So we might not be able to fix this before openssl supported this format.

photo
1

In this case, will be better to call SSH directly instead of a custom client.

See https://mongobooster.useresponse.com/topic/call-openssh%C2%A0client-directly-instead-of-embedded-ssh%C2%A0one

Will be more compatible and usable in all case (currently I have to trick mongobooster because one of my mongo is under a bounce and so I need full-featured SSH to be able to connect).

photo
Leave a Comment
 
Attach a file