SSHPublicKeyAlgorithms Property
A comma-separated list containing all allowable public key authentication algorithms.
Syntax
sshclientcontrol.SSHPublicKeyAlgorithms[=string]
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 control 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-dss | Raw DSS Key |
ssh-rsa | Raw RSA Key |
rsa-sha2-256 | Raw RSA Key |
rsa-sha2-512 | Raw RSA Key |
x509v3-sign-rsa | X509 RSA Certificate |
x509v3-sign-dss | X509 DSS Certificate |
ecdsa-sha2-nistp256 | Raw EC Key with curve nistp256.
NOTE: This functionality is only available in Windows. |
ecdsa-sha2-nistp384 | Raw EC Key with curve nistp384.
NOTE: This functionality is only available in Windows. |
ecdsa-sha2-nistp521 | Raw EC Key with curve nistp521.
NOTE: This functionality is only available in Windows. |
ssh-ed25519 | Ed25519 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.
Data Type
String