show ip ssh sessions
Displays Secure Shell (SSH) connection and their status.
Modes
User EXEC mode
Privileged EXEC mode
Global configuration mode
The
show ip ssh sessions command displays the following information:
| Output field | Description |
|---|---|
| Inbound | Connections listed under this heading are inbound. |
| Outbound | Connections listed under this heading are outbound. |
| Connection | The SSH connection ID. |
| Server Hostkey | The type of server host key. This can be DSA or RSA. |
| Server IP Address | The IP address of the SSH server. |
| Idle timeout (minutes) | SSH idle timeout value in minutes. |
Examples
The following example displays sample output of the
show ip ssh sessions command.
device# show ip ssh sessions
SSH server status: Enabled
SSH copy-received-cos status: Disabled
SSH connections:
SSH connections (inbound):
2 closed
3 closed
4 closed
5 closed
6 closed
7 closed
SSH connection (outbound):
8 established, server ip address 10.176.160.115, from Console session, , server hostkey DSA, privilege super-user
using vrf default-vrf.
1 minute(s) 59 second(s) in idle
10 closed
11 closed
12 closed
13 closed
14 closed
15 closed
16 closed
17 closed
18 closed
19 closed
20 closed
History
| Release version | Command history |
|---|---|
| 08.0.90 | This command was introduced. |