R211x-HP Flexfabric 11900 Security Command Reference

Table Of Contents
163
Field Description
Key type Key type: RSA, DSA or ECDSA.
Key modulus Key modulus length in bits.
Key code Public key string.
# Display brief information about all peer public keys.
<Sysname> display public-key peer brief
Type Modulus Name
---------------------------
RSA 1024 idrsa
DSA 1024 10.1.1.1
Table 20 Command output
Field Description
Type Key type: RSA, DSA or ECDSA.
Modulus Key modulus length in bits.
Name Name of the peer public key.
Related commands
public-key peer
public-key peer import sshkey
peer-public-key end
Use peer-public-key end to exit public key view to system view and save the configured peer public key.
Syntax
peer-public-key end
Views
Public key view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
After you type the peer public key on the local device, use this command to exit public key view and to
save the public key.
The system verifies the public key before saving it. If the key is not in the correct format, the system
discards the key and displays an error message. If the key is valid, for example, the key displayed by the
display public-key local public command, the system saves the key.
Examples
# Exit public key view and save the configured public key.