Displaying SSH Information
To display information about SSH connections,
enter 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)
To display more detailed information about SSH connections, enter the
show who command.
device# show who Console connections: Established you are connecting to this session 2 minutes 56 seconds in idle SSH server status: Enabled SSH connections (inbound): 1. established, client ip address 10.2.2.1, server hostkey DSA 1 minutes 15 seconds in idle 2. established, client ip address 10.2.2.2, server hostkey RSA 2 minutes 25 seconds in idle SSH connection (outbound): 3. established, server ip address 10.37.77.15, server hostkey RSA 7 seconds in idle
To display SSH configuration information, enter
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 Client Keys : RSA(0) Client Rekey : 200 Minute, 0 KB Server Rekey : 250 Minute, 0 KB