beautypg.com

Show crypto key pubkey-chain knownhosts – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1400

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

54.18

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

show crypto key pubkey-chain knownhosts

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:

To display the key data of the first entry in the known host data, use the command:

Output

Figure 54-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.

awplus#

show crypto key pubkey-chain knownhosts

awplus#

show crypto key pubkey-chain knownhosts 1

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 54-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.