Assigning A Public Key To An Ssh User; Exporting The Rsa Or Dsa Public Key - H3C S3100-52P Operation Manual

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

Advertisement

Operation Manual – SSH
H3C S3100-52P Ethernet Switch
Return to public key view
from public key edit view
Exit public key view and
return to system view
Table 1-9 Follow these steps to import the RSA public key from a public key file:
Enter system view
Import the public key from
a public key file

1.3.8 Assigning a Public Key to an SSH User

Caution:
This configuration task is unnecessary if the SSH user's authentication mode is
password.
For the publickey authentication mode, you must specify the client's public key on the
server for authentication.
Table 1-10 Follow these steps to assign a public key for an SSH user:
Enter system view
Assign a public key to an
SSH user

1.3.9 Exporting the RSA or DSA Public Key

You can display the generated RSA or DSA public key on the screen in a specified
format or export it to a specified file, so that you can configure the key at a remote end
when necessary.
To do...
public-key-code end
peer-public-key end
To do...
system-view
public-key peer keyname
import sshkey filename
To do...
system-view
ssh user username
assign publickey
keyname
Use the command...
Use the command...
Use the command...
1-13
Chapter 1 SSH Configuration
Remarks
Remarks
Required
Remarks
Required
If you issue this command
multiple times, the last
command overrides the
previous ones.

Advertisement

Table of Contents
loading

Table of Contents