Command Manual – SSH
H3C S7500E Series Ethernet Switches
Key name: SERVER_KEY
Key type: RSA Encryption Key
=====================================================
Key code:
307C300D06092A864886F70D0101010500036B003068026100C51AF7CA926962284A4654B2
AACC7B2AE12B2B1EABFAC1CDA97E42C3C10D7A70D1012BF23ADE5AC4E7AAB132CFB6453B27
E054BFAA0A85E113FBDE751EE0ECEF659529E857CF8C211E2A03FD8F10C5BEC162B2989ABB
5D299D1E4E27A13C7DD10203010001
Table 1-1 Description on fields of the display public-key local command
Time of Key pair created
Key name
Key type
Key code
1.1.2 display public-key peer
Syntax
display public-key peer [ brief | name publickey-name ]
View
Any view
Parameters
brief: Displays brief information about all public keys of remote ends.
name publickey-name: Specifies a public key of a remote end by its name, which is a
string of 1 to 64 characters.
Description
Use the display public-key peer command to display information about specified or all
public keys of remote ends.
With neither the brief keyword nor the name publickey-name combination specified,
the command displays detailed information about all public keys of remote ends.
Related commands: public-key peer.
Examples
# Display detailed information about the public key named idrsa.
<Sysname> display public-key peer name idrsa
Field
1-2
Chapter 1 SSH Configuration Commands
Description
Time when the key pair is created
Name of the key
Type of the key
Code of the key