HP 5120 SI series Command Reference Manual page 224

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

Default level
2: System level
Parameters
keyname: Specifies a public key name, a case sensitive string of 1 to 64 characters.
filename: Specifies the name of the file that saves a remote host's host public key. For more information
about file name, see the Fundamentals Configuration Guide.
Description
Use the public-key peer import sshkey command to import a remote host's host public key from the public
key file.
Use the undo public-key peer command to remove the specified host public key of a remote host.
After execution of this command, the system automatically transforms the host public key in SSH1,
SSH2.0 or OpenSSH format to PKCS format, and imports the key. This operation requires that you get a
copy of the public key file from the remote host through FTP or TFTP in advance.
Related commands: display public-key peer.
Examples
# Import the remote host's host public key named key2 from the public key file key.pub.
<Sysname> system-view
[Sysname] public-key peer key2 import sshkey key.pub
213

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents