ssh server timeout
Function
The ssh server timeout command sets the timeout interval for SSH connection authentication.
The undo ssh server timeout restores the default timeout interval for SSH connection authentication.
The default timeout interval for SSH connection authentication is 60 seconds.
Parameters
Parameter | Description | Value |
---|---|---|
seconds | Specifies the timeout interval for SSH connection authentication. | The value is an integer ranging from 60 to 120, in seconds. |
Usage Guidelines
Usage Scenario
If you have not logged in successfully at the timeout interval for SSH connection authentication, the current connection is terminated to ensure security. You can run the display ssh server command to query the current timeout interval.
Precautions
The setting for the timeout interval takes effect upon next login.
If a very short timeout period is configured for SSH connection authentication, user login may fail due to a connection timeout. Using the default timeout period is recommended.