configure ssh2 login-grace-timeout

configure ssh2 login-grace-timeout seconds

Description

For the SSH server, configures a timeout period for a login attempt.

Syntax Description

ssh2 Designates changing SSHv2 configuration.
login-grace-timeout Designates having the SSHv2 server disconnects after this time if the user has not completed login attempt.
seconds Sets the time in seconds for the disconnect timeout period. The default is 120 seconds, and the range is 60–120 seconds.

Default

By default, the timeout period is 120 seconds.

Usage Guidelines

To view the current timeout period setting , use the command show ssh2.

Example

The following example sets the timeout period ot 100 seconds:

# configure ssh2 login-grace-timeout 100

History

This command was first available in ExtremeXOS 30.7.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.