SSH Parameters
Secure Shell (SSH) parameters are described in the table below.
SSH Parameters
|
Parameter |
Description |
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
'Enable SSH Server' configure system > cli-settings > ssh [SSHServerEnable] |
Enables the device's embedded SSH server.
|
|||||||||||||||||||||||||||
|
'Public Key' configure system > cli-settings > ssh-require-public-key [SSHRequirePublicKey] |
Enables RSA or ECDSA public keys for SSH.
Note:
|
|||||||||||||||||||||||||||
|
'Max Payload Size' ssh-max-payload-size [SSHMaxPayloadSize] |
Defines the maximum uncompressed payload size (in bytes) for SSH packets. The valid value is 550 to 32768. The default is 32768. |
|||||||||||||||||||||||||||
|
'Max Binary Packet Size' configure system > cli-settings > ssh-max-binary-packet-size [SSHMaxBinaryPacketSize] |
Defines the maximum packet size (in bytes) for SSH packets. The valid value is 582 to 35000. The default is 35000. |
|||||||||||||||||||||||||||
|
'Maximum SSH Sessions' configure system > cli-settings > ssh-max-sessions [SSHMaxSessions] |
Defines the maximum number of simultaneous SSH sessions. The valid range is 1 to 5. The default |
|||||||||||||||||||||||||||
|
'Enable Last Login Message' configure system > cli-settings > ssh-last-login-message [SSHEnableLastLoginMessage] |
Enables message display in SSH sessions of the time and date of the last SSH login. The message displays the number of unsuccessful login attempts since the last successful login.
Note: The last SSH login information is cleared when the device restarts. |
|||||||||||||||||||||||||||
|
'Max Login Attempts configure system > cli-settings > ssh-max-login-attempts [SSHMaxLoginAttempts] |
Defines the maximum SSH login attempts allowed for entering an incorrect password by an administrator before the SSH session is rejected. The valid range is 1 to 5. The default is 3. Note: The new setting takes effect only for new subsequent SSH connections. |
|||||||||||||||||||||||||||
|
'Kex Algorithms String' configure system > cli-settings > ssh-kex-algorithms-string [SSHKexAlgorithmsString] |
Defines the SSH Key Exchange Algorithms. The valid values include:
To configure the parameter with multiple values, use the colon (:) as a separator between each value. For example, diffie-hellman-group1-sha1:diffie-hellman-group-exchange-sha256. The default is curve25519-sha256:ecdh-sha2-nistp256:ecdh-sha2-nistp384:ecdh-sha2-nistp521:diffie-hellman-group-exchange-sha256:diffie-hellman-group16-sha512:diffie-hellman-group14-sha256:diffie-hellman-group14-sha1. Note: If you're configuring this parameter in the ini file, enclose the entire string in single quotation marks (e.g., 'diffie-hellman-group1-sha1:diffie-hellman-group-exchange-sha256'). |
|||||||||||||||||||||||||||
|
'Ciphers String' configure system > cli-settings > ssh-ciphers-string [SSHCiphersString] |
Defines the SSH cipher string. The valid values include:
To configure the parameter with multiple values, use the colon (:) as a separator between each value. For example, aes128-ctr:aes128-cbc. The default is aes128-ctr:aes128-cbc. Note: If you're configuring this parameter in the ini file, enclose the entire string in single quotation marks (e.g., 'aes128-ctr:aes128-cbc'). |
|||||||||||||||||||||||||||
|
'MACs String' configure system > cli-settings > ssh-macs-string [SSHMACsString] |
Defines the SSH MAC algorithms. The valid values include:
To configure the parameter with both values, use the colon (:) as a separator between each value (e.g., hmac-sha1:hmac-sha2-256). The default is hmac-sha1:hmac-sha2-256. Note: If you're configuring this parameter in the ini file, enclose the entire string in single quotation marks (e.g., 'hmac-sha1:hmac-sha2-256'). |
|||||||||||||||||||||||||||
|
'Host Key Algorithms String' configure system > cli-settings > ssh-host-key-algs-string [SSHHostKeyAlgorithmsString] |
Defines a list of allowed cryptographic algorithms that the device can use to generate and present its SSH host key during the SSH connection setup with an SSH client to establish a CLI session. When an SSH client connects to the device (which acts as the SSH server), the device presents its host key to authenticate itself. During the SSH handshake, the client and device exchange their supported host key algorithms. The device then selects the algorithm based on the following rules:
The device selects the first client-preferred algorithm that meets all these conditions. If no compatible algorithm exists, the device rejects the SSH connection. The valid values (supported algorithms) include:
The default value is: rsa-sha2-256:rsa-sha2-512:ecdsa-sha2-nistp256:ecdsa-sha2-nistp384:ecdsa-sha2-nistp521:ssh-rsa To configure multiple algorithms, separate the values with a colon (:). For example: ecdsa-sha2-nistp256:ecdsa-sha2-nistp384 Note: When you configure this parameter in an ini file, enclose the entire value in single quotation marks (e.g., 'ecdsa-sha2-nistp256:ecdsa-sha2-nistp384'). |