The SSH server sends a keepalive response to the SSH client only if the keepalive feature is enabled on the SSH server. Otherwise the server discards the connection.
This command takes effect for both IPv4 and IPv6 connections.
Example
# Enable keepalive feature on SSH server.
<HUAWEI> system-view
[~HUAWEI] ssh server keepalive enable