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 { sha1 | sha1-96 | md5 | md5-96 } *

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

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

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