ip ssh idle-time

Configures the amount of time an SSH session can be inactive before the device closes it.
Syntax
ip ssh idle-time time
no ip ssh idle-time time
Command Default

By default, SSH sessions time out after two minutes.

Parameters
time
Time in minutes. Valid values are from 0 through 240. The default is two minutes.
Modes

Global configuration mode

Usage Guidelines

If an established SSH session has no activity for the specified number of minutes, the device closes it. An idle time of 0 minutes means that SSH sessions never time out.

The no form of the command sets the timeout value to the default.

Examples

The following example configures the SSH idle time to 50 minutes.

device(config)# ip ssh idle-time 50
History
Release version Command history
08.0.91 This command was modified to change the default value to 5 minutes.
09.0.00 This command was modified to change the default value to 2 minutes.