set ssh client alive-count

Use this command to set the maximum number of times a client alive message is not acknowledged before the session times out.

Syntax

set ssh client alive-count count

Parameters

count Sets the number of times a client alive message will be sent to the client before the session times out. Valid values are 0 - 2147483647. Default value is 5.

Defaults

5 seconds.

Mode

All command modes.

Usage

This command sets the maximum number of client alive messages which may be sent without SSH receiving any messages back from the client. If this threshold is reached while client alive messages are being sent, SSH will disconnect the client, terminating the session.

Example

This example shows how to set the maximum number of client alive messages sent to the client to 6:

System(rw)->set ssh client alive-count 6