show crypto key pubkey-chain ssh
Use the show crypto key pubkey-chain ssh command in Privileged EXEC mode to display SSH
public keys stored on the switch.
Syntax
show crypto key pubkey-chain ssh [username
username — Specifies the remote SSH client username. (Range: 1–48 characters)
•
•
bubble-babble — Fingerprints in Bubble Babble format.
•
hex — Fingerprint in Hex format. If fingerprint is unspecified, it defaults to Hex format.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
This command has no user guidelines.
Example
The following example displays all SSH public keys stored on the switch.
console#show crypto key pubkey-chain ssh
Username
--------
bob
john
The following example displays the SSH public called "dana."
console#show crypto key pubkey-chain ssh username dana
Username: dana
rsa key data:
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAywqRKTRnexccxVUVTeMl+Gkh
imyUDhcTkgEfssLPMsgoXlTwzCE5+97UIIsSRKQQWR+pBNl45tCYd75LUofV
4LP6Lj1Q5Q0w5lBgiqC2MZ/iBHGSsHMAE0lpYtelZprDu4uiZHMuWezmdQp9
1050
SSH Commands
Fingerprint
----------------------------------------------------
9A:CC:01:C5:78:39:27:86:79:CC:23:C5:98:59:F1:86
98:F7:6E:28:F2:79:87:C8:18:F8:88:CC:F8:89:87:C8
username
] [fingerprint bubble-babble|hex]