show ip ssh
Displays Secure Shell (SSH) connection session details.
Parameters
Modes
User EXEC mode
The
show ip ssh 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. |
| Version | The SSH version number. |
| Username | The username for the connection. |
| IP Address | The IP address of the SSH client. |
| SSH-v2.0 enabled | Indicates that SSHv2 is enabled. |
| hostkey | Indicates that at least one host key is on the device. It is followed by a list of the host key types and module sizes. |
The
show ip ssh config command displays the following information:
Examples
The following example displays sample output of
the show ip
ssh command.
device# show ip ssh Connection Version Username IP Address Inbound: 1 SSH-2 Raymond 10.120.54.2 Outbound: 6 SSH-2 Steve 10.37.77.15 SSH-v2.0 enabled; hostkey: RSA(2048)
The following example displays sample output of
the show ip ssh
config command.
device# show ip ssh config SSH server : Disabled SSH port : tcp\22 Host Key : Encryption : aes256-cbc, aes192-cbc, aes128-cbc, aes256-ctr, aes 192-ctr, aes128-ctr, 3des-cbc Permit empty password : No Authentication methods : Password, Public-key, Interactive Authentication retries : 3 Login timeout (seconds) : 120 Strict management VRF : Disabled SCP : Enabled SSH Client Keys : RSA(0) Client Rekey : 200 Minute, 0 KB Server Rekey : 250 Minute, 0 KB
History