IPWorks SSH 2020 Python Edition

Questions / Feedback?

ssh_mac_algorithms Property

A comma-separated list containing all allowable message authentication algorithms.

Syntax

def get_ssh_mac_algorithms() -> str: ...
def set_ssh_mac_algorithms(value: str) -> None: ...

ssh_mac_algorithms = property(get_ssh_mac_algorithms, set_ssh_mac_algorithms)

Default Value

"hmac-sha2-256,hmac-sha2-512,hmac-sha1,hmac-md5,hmac-ripemd160,hmac-sha1-96,hmac-md5-96,hmac-sha2-256-96,hmac-sha2-512-96,hmac-ripemd160-96,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com"

Remarks

SSH allows different algorithms to be negotiated for use when establishing the security layer of the connection. ssh_mac_algorithms controls the message authentication code (MAC) algorithm list supplied by the class to the ssh_host. It is a comma-separated list containing the names of MAC algorithms as defined by section 6.4 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:

  • hmac-sha1
  • hmac-md5
  • hmac-sha1-96
  • hmac-md5-96
  • hmac-sha2-256
  • hmac-sha2-256-96
  • hmac-sha2-512
  • hmac-sha2-512-96
  • hmac-ripemd160
  • hmac-ripemd160-96
  • hmac-sha2-256-etm@openssh.com
  • hmac-sha2-512-etm@openssh.com

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