Command Manual – SSH
H3C S7500E Series Ethernet Switches
Chapter 1 SSH Configuration Commands
1-2
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
Field
Description
Time of Key pair created
Time when the key pair is created
Key name
Name of the key
Key type
Type of the key
Key code
Code of the key
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