ssh_accept_server_host_key_encoded Property
The certificate (PEM/base64 encoded).
Syntax
def get_ssh_accept_server_host_key_encoded() -> bytes: ... def set_ssh_accept_server_host_key_encoded(value: bytes) -> None: ...
ssh_accept_server_host_key_encoded = property(get_ssh_accept_server_host_key_encoded, set_ssh_accept_server_host_key_encoded)
Default Value
""
Remarks
The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The ssh_accept_server_host_key_store and ssh_accept_server_host_key_subject properties may also be used to specify a certificate.
When ssh_accept_server_host_key_encoded is set, a search is initiated in the current ssh_accept_server_host_key_store for the private key of the certificate. If the key is found, ssh_accept_server_host_key_subject is updated to reflect the full subject of the selected certificate, otherwise ssh_accept_server_host_key_subject is set to empty string.