Explains how separate connection and channel timers release inactive SSH resources on Cisco IOS XR routers while preserving active connections and independent management operations.
SSH server timeouts are resource-management controls that
-
terminate connections that have no active channels
-
close individual channels that stop sending or receiving data, and
-
prevent inactive SSH state from consuming session resources indefinitely.
A connection is the encrypted client-server session that supports authentication and data exchange. A channel is an independent virtual path inside that connection for an operation such as a shell, SFTP, or NETCONF session.
Timeout comparison
|
Timeout |
Timer starts |
Result |
|---|---|---|
|
Connection |
All channels close and no new channel opens. |
The router terminates the complete SSH connection. |
|
Channel |
A channel has no data activity for the configured period. |
The router closes the idle channel while retaining the parent connection. |