show ip ssh
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. |
| Encryption | The encryption method used for the connection. |
| Username | The username for the connection. |
| HMAC | The HMAC version. |
| Server Hostkey | The type of server host key. This can be DSA or RSA. |
| 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:
The following example displays sample output of the
show ip ssh command.
device# show ip ssh Connection Version Encryption Username HMAC Server Hostkey IP Address Inbound: 1 SSH-2 3des-cbc Raymond hmac-sha1 ssh-dss 10.120.54.2 Outbound: 6 SSH-2 aes256-cbc Steve hmac-sha1 ssh-dss 10.37.77.15 SSH-v2.0 enabled; hostkey: DSA(1024), 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 Idle timeout (minutes) : 0 Strict management VRF : Disabled SCP : Enabled SSH IPv4 clients : All SSH IPv6 clients : All SSH IPv4 access-group : SSH IPv6 access-group : SSH Client Keys : RSA(0) Client Rekey : 200 Minute, 0 KB Server Rekey : 250 Minute, 0 KB
The following example displays sample output of the
show ip ssh rekey statistics command.
device# show ip ssh rekey statistics SSH Server Rekey Statistics: 1 Time : 24 Sec, Data : 996632 Bytes 2 closed 3 closed 4 closed 5 closed SSH Client Rekey Statistics: 6 Time : 596 Sec, Data : 2999556 Bytes 7 closed 8 closed 9 closed 10 closed 11 closed 12 closed 13 closed 14 closed 15 closed 16 closed 17 closed 18 closed
| Release version | Command history |
|---|---|
| 08.0.70 | This command was modified to add the rekey statistics option. |