Configuring A Client Public Key - HP 5120 SI Series Security Configuration Manual

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

Advertisement

CAUTION:
For more information about the authentication-mode and protocol inbound commands, see the
Fundamentals Command Reference
If you configure a user interface to support SSH, be sure to configure the corresponding authentication
mode with the authentication-mode scheme command.
For a user interface configured to support SSH, you cannot change the authentication mode. To change
the authentication mode, undo the SSH support configuration first.

Configuring a client public key

NOTE:
This configuration task is only necessary for SSH users using publickey authentication.
For each SSH user that uses publickey authentication to login, you must configure the client's DSA or RSA
host public key on the server, and configure the client to use the corresponding host private key.
To configure the public key of an SSH client, you can configure it manually or import it from the public key
file:
Configure it manually—You can input or copy the public key to the SSH server. The public key must
have not been converted and be in the distinguished encoding rules (DER) encoding format.
Import it from the public key file—During the import process, the system will automatically convert
the public key to a string coded using the Public Key Cryptography Standards (PKCS). Before
importing the public key, you must upload the public key file (in binary) to the local host through FTP
or TFTP.
CAUTION:
HP recommends you to configure a client public key by importing it from a public key file.
You can configure up to 20 client public keys on an SSH server.
Configuring a client public key manually
Follow these steps to configure the client public key manually:
To do...
Enter system view
Enter public key view
Enter public key code view
Configure a client public key
Return from public key code view
to public key view
Return from public key view to
system view
.
Use the command...
system-view
public-key peer keyname
public-key-code begin
Enter the content of the public key
public-key-code end
peer-public-key end
247
Remarks
Required
Spaces and carriage returns are
allowed between characters.
When you exit public key code
view, the system automatically
saves the public key.

Advertisement

Table of Contents
loading

Table of Contents