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 5320, 5420, 5520, and 5720 series switches.