Command Manual ( For Soliton ) – SSH
H3C S3100 Series Ethernet Switches
Chapter 1 SSH Commands
1-30
1.1.25 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.
Caution:
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.1.26 ssh server compatible-ssh1x enable
Syntax
ssh server compatible-ssh1x enable