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

93
filename: Public key file name.
Description
Use the public-key peer import sshkey command to import the public key of a peer from the public key
file.
Use the undo public-key peer command to remove a configured peer public key.
After execution of this command, the system automatically transforms the public key in SSH1, SSH2.0 or
OpenSSH format to PKCS format, and imports the peer public key. This requires that you get a copy of
the public key file from the peer through FTP or TFTP in advance.
Related commands: display public-key peer.
Examples
# Import the peer host public key named key2 from the public key file key.pub.
<Sysname> system-view
[Sysname] public-key peer key2 import sshkey key.pub