set ssh client alive-interval

Use this command to set the SSH server‘s client alive interval.

Syntax

set ssh client alive-interval interval

Parameters

interval Sets the SSH client alive interval. Valid values are 0 - 2147483647 seconds. Default value is 30 seconds.

Defaults

30 seconds.

Mode

All command modes.

Usage

This command sets a timeout interval in seconds after which if no data has been received from the client, SSH sends a message through the encrypted channel to request a response from the client. Use the set ssh client alive-count to set the number of times to repeat this procedure before the session is timed out.

If the SSH client alive interval is set to 0, no messages are sent to the client.

Example

This example shows how to set the SSH client keep alive interval to 40 seconds:

System(rw)->set ssh client alive-interval 40