Configuring A Client Public Key - HP 6125G Configuration Manual

Security configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter user interface view of
one or more user interfaces.
3.
Set the login authentication
mode to scheme.
4.
Configure the user interfaces
to support SSH login.
For more information about the authentication-mode and protocol inbound commands, see
Fundamentals Command Reference.

Configuring a client public key

This configuration task is only necessary for SSH users using publickey authentication.
To allow an SSH user to pass publickey authentication and log in to the server, 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, so that the server uses the digital signature to authenticate the client.
You can manually configure the public key of an SSH client on the server, or import it from the public key
file:
Configure it manually—You can type 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 server will automatically convert
the public key in the public key file to a string in Public Key Cryptography Standards (PKCS) format,
and save it locally. Before importing the public key, you must upload the public key file (in binary)
to the server through FTP or TFTP.
NOTE:
HP recommends you to configure a client public key by importing it from a public key file.
For more information about client public key configuration, see
Configuring a client public key manually
Step
1.
Enter system view.
2.
Enter public key view.
3.
Enter public key code view.
4.
Configure a client's host
public key.
5.
Return to public key view and
save the configured host
public key.
6.
Return to system view.
Command
system-view
user-interface vty number
[ ending-number ]
authentication-mode scheme
protocol inbound { all | ssh }
Command
system-view
public-key peer keyname
public-key-code begin
Enter the content of the host public
key
public-key-code end
peer-public-key end
182
Remarks
N/A
N/A
By default, the authentication
mode is password.
Optional.
All protocols are supported by
default.
"Managing public
keys."
Remarks
N/A
N/A
N/A
Spaces and carriage returns are
allowed between characters.
When you exit public key code
view, the system automatically
saves the public key.
N/A

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents