Are the algorithms ecdsa-sha2-nistp384 and ecdsa-sha2-nistp384 available in Rebex?

0 votes
asked Jul 31, 2019 by Aleksage (220 points)

I have checked KEX and HostKey algorithms lists and haven't found
ecdsa-sha2-nistp384 and ecdsa-sha2-nistp384.
(only ecdsa-sha2-nistp256 is available)

Is there way to enable the mentioned algorithms?

Checked on SSH client based on Rebex Components 2019 R2/R3 + RebexEllipticCurvePlugins

Applies to: SSH Pack

1 Answer

+1 vote
answered Aug 1, 2019 by Lukas Matyska (59,530 points)
selected Aug 1, 2019 by Aleksage
Best answer

Yes, the ecdsa-sha2-nistp384 and ecdsa-sha2-nistp521 algorithms are also supported.

The complete list of supported algorithms can be found at

The algorithms can be enabled like this:

var client = new Sftp();
client.Settings.SshParameters.HostKeyAlgorithms |= SshHostKeyAlgorithm.ECDsaNistP384 | SshHostKeyAlgorithm.ECDsaNistP521;
client.Settings.SshParameters.KeyExchangeAlgorithms |= SshKeyExchangeAlgorithm.ECDiffieHellmanNistP384 | SshKeyExchangeAlgorithm.ECDiffieHellmanNistP521;

If the OS does not have native support for the ecdsa-sha2-nistp384 and ecdsa-sha2-nistp521, the mentioned plugins has to be used.