The ssh server timeout command sets the timeout period for SSH connection authentication.
The undo ssh server timeout restores the default timeout period for SSH connection authentication.
The default timeout period for SSH connection authentication is 60 seconds.
Parameter | Description | Value |
---|---|---|
seconds | Specifies the timeout period for SSH connection authentication. | The value is an integer ranging from 1 to 120, in seconds. |
Usage Scenario
If a user has not logged in successfully before the timeout period for SSH connection authentication expires, the current connection is terminated to ensure security. To query the current timeout period, run the display ssh server command.
Precautions
The timeout period setting takes effect upon next login.