C613-50100-01 REV C Command Reference for x930 Series 2968
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
SECURE SHELL (SSH) COMMANDS
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>]
Syntax (VRF lite) show crypto key pubkey-chain knownhosts [vrf <vrf-name>|global]
[<1-65535>]
Default Display all keys.
Mode User Exec, Privileged Exec and Global Configuration
When VRF lite is configured:
•If vrf is specified, this command displays the known host database from the
specified VRF instance.
•If global is specified, this command displays the known host database from
the global routing environment.
•If neither vrf nor global is specified, this command displays the known host
database from the global routing environment and each configured VRF.
For more information about VRF, see the VRF Lite Feature Overview and
Configuration Guide.
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
Parameter Description
global When VRF lite is configured, apply the command to the global
routing and forwarding table.
vrf Apply the command to the specified VRF instance.
<vrf-name> The name of the VRF instance.
<1-65535> Key identifier for a specific key. Displays the public key of the entry if
specified.