# ip ssh mac

#### Syntax

ip ssh mac [ client-to-server | server-to-client ] [ no | default ] macAlgorithm

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Adds a MAC algorithm to the specified list of supported algorithms. The no version removes or excludes an algorithm from the specified list. The default version restores the default algorithms for the specified list.

#### Options

- client-to-server—Adds the specified algorithm to the SSH server's list of supported inbound algorithms
- server-to-client—Adds the specified algorithm to the SSH server's list of supported outbound algorithms
- no—Removes or excludes the specified algorithm from the list
- default—Restores the specified list to the factory defaults, which includes hmac-md5, hmac-sha1, and hmac-sha1-96
- macAlgorithm—Algorithm to add to the list

#### Mode

Global Configuration