After the keepalive feature is configured on the SSH client, the client sends keepalive packets at the configured interval to the SSH server to check whether the connection between them is normal. The keepalive feature implements fast fault detection.
The system view is displayed.
The interval at which the client sends keepalive packets to the server is configured.
If the client does not receive a response from the server during an interval, the client sends another keepalive packet to the server. If the server still does not respond, the client is disconnected from the server.
The maximum number of keepalive packets that the client sends to the server is configured.
The interval at which the client sends keepalive packets to the server must be greater than the maximum number of keepalive packets that the client sends to the server. For example, if the interval is 0 (no keepalive packet is sent), the setting of the maximum number of keepalive packets does not take effect.
The configuration is committed.