S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
22-389
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 22 Show Commands
show ssh
show ssh
To display Secure Shell information (SSH), use the
show ssh
command.
show ssh
{
key
[
dsa
|
rsa
|
rsa1
]
|
server
}
Syntax Description
Defaults
None.
Command Modes
EXEC mode.
Command History
Usage Guidelines
To display the host key pair details for the specified key or for all keys, if no key is specified, use the
show ssh key
command. To display the status of the SSH protocol (enabled or disabled) and the versions
that are enabled for that switch, use the
show ssh server
command.
Examples
The following example displays SSH server status.
switch#
show ssh server
ssh is enabled
version 1 enabled
version 2 enabled
The following example displays Host Key Pair details.
switch#
show ssh key
rsa1 Keys generated:Sun Jan 13 07:16:26 1980
1024 35
fingerprint:
1024 67:76:02:bd:3e:8d:f5:ad:59:5a:1e:c4:5e:44:03:07
could not retrieve rsa key information
dsa Keys generated:Sun Jan 13 07:40:08 1980
ssh-dss AAAAB3NzaC1kc3MAAABBAJTCRQOydNRel2v7OTn8eGdnnDVxw5eJs5OcOEXOyjaW
cMMYsEgxc9ada1NElp8Wy7GPMWGOQYj9CU0AAAAVAMCcWhNN18zFNOIPo7cU3t7d0iEbAAAAQBdQ8UAO
key
Displays SSH keys.
server
Displays the SSH server status.
dsa
Displays DSA SSH keys.
rsa
Displays RSA SSH keys.
rsa1
Displays RSA1 SSH keys.
Release
Modification
1.0(2)
This command was introduced.