448
ssh server authentication-timeout
Use
ssh server authentication-timeout
to set the SSH user authentication timeout timer on the
SSH server.
Use
undo ssh server authentication-timeout
to restore the default.
Syntax
ssh server authentication-timeout
time-out-value
undo ssh server authentication-timeout
Default
The SSH user authentication timeout timer is 60 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
time-out-value
: Specifies an authentication timeout timer in the range of 1 to 120 seconds.
Usage guidelines
If a user does not finish the authentication when the timeout timer expires, the connection cannot be
established.
To prevent malicious occupation of TCP connections, set the authentication timeout timer to a small
value.
Examples
# Set the authentication timeout timer to 10 seconds for SSH users.
<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
[
enable
] to restore the default.
Syntax
ssh server compatible-ssh1x enable
undo ssh server compatible-ssh1x
[
enable
]
Default
The SSH server does not support SSH1 clients.
Views
System view