
SSH Commands
show crypto key mypubkey
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
412
29
User Guidelines
There are no user guidelines for this command.
Example
The following example displays SSH public keys stored on the device.
Console# show crypto key pubkey-chain ssh
Username
Fingerprint
bob
9A:CC:01:C5:78:39:27:86:79:CC:23:C5:98:59:F1:86
john
98:F7:6E:28:F2:79:87:C8:18:F8:88:CC:F8:89:87:C8
Console# show crypto key pubkey-chain ssh username bob
Username: bob
Key: 005C300D 06092A86 4886F70D 01010105 00034B00 30480241
00C5E23B 55D6AB22 04AEF1BA A54028A6 9ACC01C5 129D99E4
Fingerprint: 9A:CC:01:C5:78:39:27:86:79:CC:23:C5:98:59:F1:86
show crypto key mypubkey
To view the SSH public keys of your device, use the
show crypto key mypubkey
Privileged EXEC command.
Syntax
show crypto key mypubkey [rsa | dsa]
Parameters
•
rsa
— RSA key
•
dsa
— DSA key
Default Configuration
This command has no default setting.