1022
Command Reference for IE200 Series Industrial Managed PoE+ Switches
C613-50066-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5I-0.x
S
ECURE
S
HELL
(SSH) C
OMMANDS
SHOW
CRYPTO
KEY
PUBKEY
-
CHAIN
KNOWNHOSTS
show crypto key pubkey-chain knownhosts
Overview
This command displays the list of public keys maintained in the known host
database on the device.
Syntax
show crypto key pubkey-chain knownhosts [<
1-65535
>]
Default
Display all keys.
Mode
User Exec, Privileged Exec and Global Configuration
Examples
To display public keys of known SSH servers, use the command:
awplus#
show crypto key pubkey-chain knownhosts
To display the key data of the first entry in the known host data, use the command:
awplus#
show crypto key pubkey-chain knownhosts 1
Output
Figure 32-2:
Example output from the
show crypto key public-chain
knownhosts
command
Related
Commands
crypto key pubkey-chain knownhosts
Parameter
Description
<
1-65535
>
Key identifier for a specific key. Displays the public key of the entry if
specified.
No Hostname Type Fingerprint
-------------------------------------------------------------------------
1 172.16.23.1 rsa c8:33:b1:fe:6f:d3:8c:81:4e:f7:2a:aa:a5:be:df:18
2 172.16.23.10 rsa c4:79:86:65:ee:a0:1d:a5:6a:e8:fd:1d:d3:4e:37:bd
3 5ffe:1053:ac21:ff00:0101:bcdf:ffff:0001
rsa1 af:4e:b4:a2:26:24:6d:65:20:32:d9:6f:32:06:ba:57
Table 32-2: Parameters in the output of the
show crypto key public-chain
knownhosts
command
Parameter
Description
No
Number ID of the key.
Hostname
Host name of the known SSH server.
Type
The algorithm used to generate the key.
Fingerprint
Checksum value for the public key.