R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101

92
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgQDAo0dVYR1S5f30eLKGNKuqb5HU3M0TTSaGlER2GmcRI2sgSegbo1x6u
t5N
Ic5+jJxuRCU4+gMc76iS8d+2d50FqIweEkHHkSG/ddgXt/iAZ6cY81bdu/CKxGiQlkUpbw4vSv+X5KeE7j+o0
MpO
pzh3W768/+u1riz+1LcwVTs51Q== rsa-key
public-key peer
Syntax
public-key peer keyname
undo public-key peer keyname
View
System view
Default level
2: System level
Parameters
keyname: Public key name, a case-sensitive string of 1 to 64 characters.
Description
Use the public-key peer command to configure the public key name and enter public key view.
Use the undo public-key peer command to remove a configured peer public key.
After entering public key view, you can configure the public key of the peer with the public-key-code
begin and public-key-code end commands. This requires that you obtain the hexadecimal public key
from the peer beforehand.
Related commands: public-key-code begin, public-key-code end, display public-key peer.
Examples
# Enter public key view, specifying a public key name of key1.
<Sysname> system-view
[Sysname] public-key peer key1
[Sysname-pkey-public-key]
public-key peer import sshkey
Syntax
public-key peer keyname import sshkey filename
undo public-key peer keyname
View
System view
Default level
2: System level
Parameters
keyname: Public key name, a case-sensitive string of 1 to 64 characters.