Command Manual – SSH
H3C S7500E Series Ethernet Switches
Chapter 1 SSH Configuration Commands
1-22
Parameters
times:
Maximum number of authentication attempts, in the range 1 to 5.
Description
Use the
ssh server authentication-retries
command to set the maximum number of
SSH connection authentication attempts, which takes effect at next login.
Use the
undo ssh server authentication-retries
command to restore the default.
By default, the maximum number of SSH connection authentication attempts is 3.
Note that the threshold specified by using the
ssh server authentication-retries
command takes into account both publickey authentication attempts and password
authentication attempts.
Related commands:
display
ssh
server
.
Examples
# Set the maximum number of SSH connection authentication attempts to four.
<Sysname> system-view
[Sysname] ssh server authentication-retries 4
1.1.27 ssh server authentication-timeout
Syntax
ssh server authentication-timeout
time-out-value
undo ssh server authentication-timeout
View
System view
Parameters
time-out-value
: Authentication timeout period in seconds, in the range 1 to120.
Description
Use the
ssh server authentication-timeout
command to set the SSH user
authentication timeout period on the SSH server.
Use the
undo ssh server authentication-timeout
command to restore the default.
By default, the authentication timeout period is 60 seconds.
Related commands:
display
ssh
server
.
Examples
# Set the SSH user authentication timeout period to 10 seconds.