F3215-HP Load Balancing Module Security Command Reference-6PW101

143
You can use the public-key peer command or the public-key peer import sshkey command to get a local
copy of a peer public key.
Examples
# Display detailed information about the peer host public key named idrsa.
<Sysname> display public-key peer name idrsa
=====================================
Key Name : idrsa
Key Type : RSA
Key Module: 1024
=====================================
Key Code:
30819D300D06092A864886F70D010101050003818B00308187028181009C46A8710216CEC0C01C7CE136B
A76C79AA6040E79F9E305E453998C7ADE8276069410803D5974F708496947AB39B3F39C5CE56C95B6AB74
42D56393BF241F99A639DD02D9E29B1F5C1FD05CC1C44FBD6CFFB58BE6F035FAA2C596B27D1231D159846
B7CB9A7757C5800FADA9FD72F65672F4A549EE99F63095E11BD37789955020123
Table 25 Command output
Field Descri
p
tion
Key Name Name of the public key.
Key Type Key type.
Key Module Key modulus length in bits.
Key Code Public key data.
# Display brief information about all locally saved peer public keys.
<Sysname> display public-key peer brief
Type Module Name
---------------------------
RSA 1024 idrsa
Table 26 Command output
Field Descri
p
tion
Type Key type:.
Module Key modulus length in bits.
Name Name of the public key.
Related commands
public-key peer
public-key peer import sshkey
peer-public-key end
Use peer-public-key end to return from public key view to system view.
Syntax
peer-public-key end