IPWorks SSH 2020 Python Edition

Questions / Feedback?

ssh_public_key_algorithms Property

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

Syntax

def get_ssh_public_key_algorithms() -> str: ...
def set_ssh_public_key_algorithms(value: str) -> None: ...

ssh_public_key_algorithms = property(get_ssh_public_key_algorithms, set_ssh_public_key_algorithms)

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. ssh_public_key_algorithms controls the public key algorithm list supplied by the class to the ssh_host. 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 ssh_host. 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 Python Edition - Version 20.0 [Build 8501]