ssh server max-login-timeout

Configures the maximum timeout interval for log in attempts in the SSH session.

Syntax

ssh server max-login-timeout { secs }
no ssh server max-login-timeout

Command Default

The default is 120 seconds.

Parameters

secs
Maximum timeout in seconds. Range of valid values is from 1 through 120.

Modes

Global configuration mode

Usage Guidelines

Use the no form of the command to reset the default.

This command configures the maximum timeout interval for the SSH session. When the loin prompt of an SSH session is idle for a time defined by the log in timeout, the session is terminated.

Examples

This example changes the timeout to 60 seconds.

device# configure terminal
device(config)# ssh server max-login-timeout 60