< Home

ssh server authentication-retries

Function

The ssh server authentication-retries command sets the number of retry times to authenticate the SSH connection.

The undo ssh server authentication-retries command restores the default number of retry times.

By default, the number of retry times is 3.

Format

ssh server authentication-retries times

undo ssh server authentication-retries

Parameters

Parameter Description Value
times Specifies the number of retry times to authenticate the SSH connection. The value is an integer ranging from 1 to 5. The default value is 3.

Views

System view

Default Level

3: Management level

Usage Guidelines

The configuration takes effect during the next login.

Example

# Set the retry times to 4.

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