Configuring The Public Key Of A Client On The Server - H3C S3100-52P Operation Manual

Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Operation Manual – SSH
H3C S3100-52P Ethernet Switch
Caution:
If the ssh user service-type command is executed with a username that does not exist,
the system will automatically create the SSH user. However, the user cannot log in
unless you specify an authentication type for it.

1.3.7 Configuring the Public Key of a Client on the Server

Note:
This configuration is not necessary if the password authentication mode is configured
for SSH users.
With the publickey authentication mode configured for an SSH client, you must
configure the client's RSA or DSA host public key(s) on the server for authentication.
You can manually configure the public key or import it from a public key file. In the
former case, you can manually copy the client's public key to the server. In the latter
case, the system automatically converts the format of the public key generated by the
client to complete the configuration on the server, but the client's public key should be
transferred from the client to the server beforehand through FTP/TFTP.
Table 1-8 Follow these steps to configure the public key of a client manually:
Enter system view
Enter public key view
Enter public key edit view
Configure a public key for
the client
To do...
system-view
public-key peer
keyname
public-key-code begin
Enter the content of the
public key
Use the command...
1-12
Chapter 1 SSH Configuration
Remarks
Required
When you input the key
data, spaces are allowed
between the characters
you input (because the
system can remove the
spaces automatically);
you can also press
<Enter> to continue your
input at the next line. But
the key you input should
be a hexadecimal digit
string coded in the public
key format.

Advertisement

Table of Contents
loading

Table of Contents