194 Security Commands
ip ssh timeout
ip ssh timeout
This command sets the SSH connection session timeout value, in minutes. A session is active
as long as the session has been idle for the value set.
Changing the timeout value for active sessions does not become effective until the session is
reaccessed. Any keystroke will also activate the new timeout duration.
Changing the timeout value for active sessions does not become effective until the session is
reaccessed. Any keystroke will also activate the new timeout duration.
Syntax ip ssh timeout 1-160
The time is a decimal value from 1 to 160.
The no ip ssh timeout version of this command sets the SSH connection session timeout
value, in minutes, to the default.
Default 5 (minutes)
Mode Global Config
Command
History
show ip ssh
This command displays the SSH settings.
Syntax show ip ssh
Mode Privileged Exec
Report fields:
Administrative Mode—This field indicates whether the administrative mode of SSH is enabled or
disabled.
Protocol Levels—The protocol level may have the values of version 1, version 2 or both versions 1 and
version 2.
Connections—This field specifies the current SSH connections.
Version 2.3 Changed from sshcon timeoutand moved from Privileged Exec mode to Global
Config.
Related
Commands show ip ssh This command displays the SSH settings.