C613-50100-01 REV C Command Reference for x930 Series 1493
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
VRF LITE COMMANDS
CRYPTO
KEY PUBKEY-CHAIN KNOWNHOSTS
Mode Privilege Exec
Usage This command adds a public key of the specified SSH server to the known host
database on the device. The key is retrieved from the server. The remote SSH server
is verified by using this public key. The user is requested to check the key is correct
before adding it to the database.
If the remote server’s host key is changed, or if the device does not have the public
key of the remote server, then SSH clients will inform the user that the public key
of the server is altered or unknown.
Examples To add the RSA host key of the remote SSH host IPv4 address 192.0.2.11 to the
known host database, use the command:
awplus# crypto key pubkey-chain knownhosts 192.0.2.11
To delete the second entry in the known host database, use the command:
awplus# no crypto key pubkey-chain knownhosts 2
Example (VRF
lite)
To add the RSA host key of the remote SSH host IPv4 address 192.0.2.11 in VRF
red to the known host database, use the command:
awplus# crypto key pubkey-chain knownhosts vrf red 192.0.2.11
To delete the second entry in the known host database in VRF red, use the
command:
awplus# no crypto key pubkey-chain knownhosts vrf red 2
Validation
Commands
show crypto key pubkey-chain knownhosts