show ip ssh sessions

Displays Secure Shell (SSH) connection and their status.
Syntax
show ip ssh sessions
Modes

User EXEC 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 IP Address The IP address of the SSH server.
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.1.160.115, from Console session, privilege super-user
9      closed
10      closed
11      closed
12      closed
13      closed
14      closed
15      closed
16      closed
17      closed
18     closed                                                    
19     closed
History
Release version Command history
08.0.90 This command was introduced.
09.0.00 This command was modified so that the server hostkey can no longer be RSA. The Idle timeout and Server Host-key fields were removed from the output.