334
Syntax
ssh server authentication-timeout
time-out-value
undo ssh server authentication-timeout
Default
The authentication timeout timer is 60 seconds.
Views
System view
Default command level
3: Manage level
Parameters
time-out-value
: Specifies an authentication timeout timer in seconds, in the range of 1 to 120.
Usage guidelines
If a user does not finish the authentication when the timer expires, the connection cannot be
established.
You can set a small value for this timer to prevent malicious occupation of TCP connections.
Examples
# Set the SSH user authentication timeout timer to 10 seconds.
<Sysname> system-view
[Sysname] ssh server authentication-timeout 10
Related commands
display
ssh
server
ssh server compatible-ssh1x enable
Use
ssh
server
compatible
-
ssh1x enable
to enable the SSH server to support SSH1 clients.
Use
undo
ssh
server
compatible
-
ssh1x
to disable the SSH server from supporting SSH1 clients.
Syntax
ssh server compatible-ssh1x enable
undo ssh server compatible-ssh1x
Default
The SSH server supports SSH1 clients.
Views
System view
Default command level
3: Manage level
Usage guidelines
The configuration takes effect only for the clients at next login.
Examples
# Enable the SSH server to support SSH1 clients.
<Sysname> system-view