show crypto host-public-key

Syntax

show crypto host-public-key [babble|fingerprint]

Description

Displays switch public key. Displays the version 1 and version 2 views of the key. If no options are specified, the key is displayed in a nonencoded ASCII numeric string.

See SSH client public-key authentication for information about public keys saved in a configuration file.

Options

babble

Displays hashes of the switch public using phonetic format, displayed as a short series of alphabetic character groups.

fingerprint

Displays fingerprints of the switch public key using hexadecimal format.

Example