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 : Enabled
SSH port : tcp\22
Host Key : RSA 3072, ECDSA 384
Encryption : chacha20-poly1305@openssh.com,aes128-gcm@openssh.com,aes256-gcm@openssh.com,
aes128-ctr,aes192-ctr,aes256-ctr
Authentication methods : Password, Public-key, Interactive
Login timeout (seconds) : 120
SCP : Enabled
SSH Client Keys :
Client Rekey : 500000K 30m (KB, Minute)
Server Rekey : 500000K 30m (KB, Minute)
History