Ssh Server Authentication-Retries - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

By default, the client is enabled to run first-time authentication.
Examples
# Disable the client to run first-time authentication.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] undo ssh client first-time

ssh server authentication-retries

Syntax
ssh server authentication-retries times
undo ssh server authentication-retries
View
System view
Parameters
times: Authentication retry times, in the range of 1 to 5.
Description
Use the ssh server authentication-retries command to set the authentication retry times for SSH
connections. This configuration will take effect for all users logging in later.
Use the undo ssh server authentication-retries command to restore the default authentication retry
times.
By default, the number of authentication retry times is 3.
If you have used the ssh user authentication-type command to configure the authentication type of a
user to password-publickey, you must set the authentication retry times to a number greater than or
equal to 2 (so that the user can access the switch).
Related commands: display ssh server.
Examples
# Set the authentication retry times to four.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] ssh server authentication-retries 4
1-26

Advertisement

Table of Contents
loading

Table of Contents