ssh server keepalive enable

Function

The ssh server keepalive enable command enables the keepalive feature on an SSH server.

The undo ssh server keepalive enable command disables the keepalive feature on the SSH server.

By default, the keepalive feature is enabled on the SSH server.

Format

ssh server keepalive enable

undo ssh server keepalive enable

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >