IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

SSHPublicKeyAlgorithms Property

A comma-separated list containing all allowable public key authentication algorithms.

Syntax


 getSSHPublicKeyAlgorithms(): string;

 setSSHPublicKeyAlgorithms(SSHPublicKeyAlgorithms: string): void;

Default Value

"ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss,x509v3-sign-rsa,x509v3-sign-dss"

Remarks

SSH allows different algorithms to be negotiated for use when establishing the security layer of the connection. SSHPublicKeyAlgorithms controls the public key algorithm list supplied by the class to the SSHHost. It is a comma-separated list containing the names of public key algorithms as defined by section 6.6 of the SSH Transport Layer specification (RFC 4253).

The value of this property must be a comma-separated list containing one or more of the following values:

ssh-dssRaw DSS Key
ssh-rsaRaw RSA Key
rsa-sha2-256Raw RSA Key
rsa-sha2-512Raw RSA Key
x509v3-sign-rsaX509 RSA Certificate
x509v3-sign-dssX509 DSS Certificate
ecdsa-sha2-nistp256Raw EC Key with curve nistp256.

NOTE: This functionality is only available in Windows.

ecdsa-sha2-nistp384Raw EC Key with curve nistp384.

NOTE: This functionality is only available in Windows.

ecdsa-sha2-nistp521Raw EC Key with curve nistp521.

NOTE: This functionality is only available in Windows.

ssh-ed25519Ed25519 Key

Note: the algorithms listed by this property control only the public key algorithm used when authenticating the SSHHost. In most SSH server implementations, this list has no bearing on the public key algorithms that can be used to authenticate the client.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 8501]