Configuring A Remote Host's Public Key - HP 5120 SI Series Security Configuration Manual

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

Advertisement

Configuring a remote host's public key

To enable your local host to authenticate a remote host, configure the remote host's RSA or DSA public
key on the local host. The following methods are available:
Import it from a public key file—Obtain a copy of the remote host's public key file through FTP or
TFTP (in binary mode) first, and then import the public key from the file. During the import process,
the system automatically converts the public key to a string in PKCS (Public Key Cryptography
Standards) format. HP recommends that you follow this method to configure the remote host's public
key.
Configure it manually—If the remote host is an HP device, you can use the display public-key local
public command to view and record its public key. On the local host, input or copy the key data in
public key code view. A public key displayed by other methods may not in the PKCS format, and the
system cannot save the format-incompliant key.
NOTE:
The device supports up to 20 pubic keys of remote hosts.
Follow these steps to import a remote host's host public key from the public key file:
To do...
Enter system view
Import the host public key of a
remote host from the public key file
Follow these steps to configure a remote host's public key manually:
To do...
Enter system view
Specify a name for a remote host's
public key and enter public key
view
Enter public key code view
Configure the host or server public
key of the remote host
Return to public key view
Return to system view
NOTE:
Do not configure an RSA server public key of the remote host for identity authentication in SSH
applications. Authentication in SSH applications uses the RSA host public key. For more information about
SSH, see the chapter "SSH2.0 configuration."
Use the command...
system-view
public-key peer keyname import
sshkey filename
Use the command...
system-view
public-key peer keyname
public-key-code begin
Type or copy the key
public-key-code end
peer-public-key end
214
Remarks
Required
Remarks
Required
Required
Spaces and carriage returns are
allowed between characters.
Required
When you exit public key code
view, the system automatically
saves the public key.

Advertisement

Table of Contents
loading

Table of Contents