1-4
View
Public key view
Default Level
2: System level
Parameters
None
Description
Use the peer-public-key end command to return from public key view to system view.
Related commands: public-key peer.
Examples
# Exit public key view.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key] peer-public-key end
[Sysname]
public-key-code begin
Syntax
public-key-code begin
View
Public key view
Default Level
2: System level
Parameters
None
Description
Use the public-key-code begin command to enter public key code view.
After entering public key code view, input the key data in the correct format. Spaces and carriage returns
are allowed between characters.
You can input the key data displayed with the display public-key local public command to make sure
the format requirements are met.
You can configure the RSA server public key of the peer. However, the public key configured cannot be
used for identity authentication in SSH applications, which use the RSA host public key. For more
information about SSH, see SSH2.0 Configuration.