Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    macs

    Syntax

    macs <algorithm>

    Hierarchy Level

    [edit system services ssh]

    Release Information

    Statement introduced in Release 11.2 of Junos OS.

    SHA-2 options introduced in Release 12.1 of Junos OS.

    Description

    Specify the set of message authentication code (MAC) algorithms that the SSH server can use to authenticate messages.

    Options

    • hmac-md5—Hash-based MAC using Message-Digest 5 (MD5).
    • hmac-md5-96—96-bits of Hash-based MAC using MD5.
    • hmac-ripemd160—Hash-based MAC using RIPEMD.
    • hmac-sha1—Hash-based MAC using Secure Hash Algorithm (SHA-1).
    • hmac-sha1-96—96-bits of Hash-based MAC using SHA-1.
    • hmac-sha2-256—256-bits of Hash-based MAC using SHA-2.
    • hmac-sha2-256-96—first 96-bits of hmac-sha2-256.
    • hmac-sha2-512—96-bits of Hash-based MAC using SHA-1.
    • umac-64—Message Authentication Code using Universal Hashing.

    Note: The macs configuration statement represents a set. Therefore, it should be configured as in the following.

    user@host#set system services ssh macs [hmac-md5 hmac-sha1]

    Required Privilege Level

    system—To view this statement in the configuration.

    system-control—To add this statement to the configuration.

    Published: 2012-11-15