Specifying MAC algorithms for SSH2

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Specify MAC algorithms for SSH2.

  • In non-FIPS mode:ssh2 algorithm mac { md5 | md5-96 | sha1 | sha1-96 | sha2-256 | sha2-512 } *

  • In FIPS mode:ssh2 algorithm mac { sha1 | sha1-96 | sha2-256 | sha2-512 } *

  • In non-FIPS mode:
    By default, SSH2 uses the MAC algorithms sha2-256, sha2-512, sha1, md5, sha1-96, and md5-96 in descending order of priority for algorithm negotiation.

  • In FIPS mode:
    By default, SSH2 uses the MAC algorithms sha2-256, sha2-512, sha1, and sha1-96 in descending order of priority for algorithm negotiation.