< Home

ssh server timeout

Function

The ssh server timeout command sets the timeout period of the SSH connection.

The undo ssh server timeout command restores the default timeout period.

By default, the timeout period is 60 seconds.

Format

ssh server timeout seconds

undo ssh server timeout

Parameters

Parameter Description Value
seconds Specifies the login timeout period of the SSH connection. The value ranges from 1 to 120 seconds. The default number of the timeout period is 60.

Views

System view

Default Level

3: Management level

Usage Guidelines

The configuration takes effect during the next login.

If a very short timeout period is configured for SSH connection authentication, user login may fail due to a connection timeout. Using the default timeout period is recommended.

Example

# Set the timeout period to 80 seconds.

<sysname> system-view
[sysname] ssh server timeout 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >