Displaying a host public key

Perform the following tasks in any view:

Task

Command

Display the local RSA public keys.

display public-key local rsa public [ | { begin | exclude | include } regular-expression ]

Display the local ECDSA public keys.

display public-key local ecdsa public [ | { begin | exclude | include } regular-expression ]

Display the local DSA host public key.

display public-key local dsa public [ | { begin | exclude | include } regular-expression ]


[NOTE: ]

NOTE:

Do not distribute the RSA server public key serverkey (default) to a peer device.