Displaying a host public key
Perform the following tasks in any view:
Display local RSA public keys.
display public-key local rsa public [ name key-name ]
Do not distribute the RSA server public key serverkey (default) to a peer device.
Display local ECDSA public keys.
display public-key local ecdsa public [ name key-name ]
Display local DSA public keys.
display public-key local dsa public [ name key-name ]