show ssh
To display all incoming and outgoing connections to the router, use the show ssh command.
show ssh
Syntax Description
This command has no keywords or arguments.
Command Default
None
Command Modes
EXEC
Command History
ModificationRelease
This command was introduced.Release 2.0
Usage Guidelines
Use the show ssh command to display all incoming and outgoing Secure Shell (SSH) Version 1 (SSHv1) and
SSH Version 2 (SSHv2) connections.
Task ID
OperationsTask ID
readcrypto
Examples
This is sample output from the show ssh command when SSH is enabled:
RP/0/RP0/CPU0:router# show ssh
SSH version: Cisco-2.0
id pty location state userid host ver
------------------------------------------------------------------------
Incoming sessions
0 vty0 0/RP0/CPU0 SESSION_OPEN cisco 172.19.72.182 v2
1 vty1 0/RP0/CPU0 SESSION_OPEN cisco 172.18.0.5 v2
2 vty2 0/RP0/CPU0 SESSION_OPEN cisco 172.20.10.3 v1
3 vty3 0/RP0/CPU0 SESSION_OPEN cisco 3333::50 v2
Outgoing sessions
1 0/RP0/CPU0 SUSPENDED root 172.19.72.182 v2
This table describes significant fields shown in the display.
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
OL-24740-01 265
Secure Shell Commands
show ssh