ssh server max-idle-timeout

Configures the maximum number of seconds that the SSH session is allowed to idle before timing out.

Syntax

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

Command Default

By default, there is no timeout.

Parameters

secs
Maximum idle time in seconds. Range of valid values is from 1 through 14400.

Modes

Global configuration mode

Usage Guidelines

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

This command configures the maximum interval of time that the SSH session is allowed to idle. When an SSH session is idle for a time defined by the idle timeout, the session is terminated.

Examples

This example changes the timeout to 15 seconds.

device# configure terminal
device(config)# ssh server max-idle-timeout 15