3Com 4210 PWR Configuration Manual page 397

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

n
Assigning a Public Key
to an SSH User
c
n
Table 309 Configure the client RSA public key manually
Operation
Enter system view
Enter public key view
Enter public key edit view
Configure the client RSA
public key
Return from public key code
view to public key view
Return from public key view
to system view
The result of the display rsa local-key-pair public command or the public key
converted with the SSHKEY tool contains no information such as the
authentication type, so they cannot be directly used as parameters in the
public-key peer command. For the same reason, neither can the result of the
display public-key local rsa public command be used in the rsa
peer-public-key command directly.
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 310 Assign a public key for an SSH user
Operation
Enter system view
Assign a public key to an SSH
user
Both the keywords publickey and rsa-key represent the public key, and have the
same implementation.
Command
system-view
rsa peer-public-key
keyname
public-key-code begin
Enter the content of the RSA
public key
public-key-code end
peer-public-key end
Command
system-view
ssh user username assign {
publickey | rsa-key }
keyname
Configuring the SSH Server
Description
Required
The content must be a
hexadecimal string that is
generated randomly by the
SSH-supported client software
and coded compliant to PKCS.
Spaces and carriage returns
are allowed between
characters.
When you exit public key
code view, the system
automatically saves the public
key.
Remarks
Required
If you issue this command
multiple times, the last
command overrides the
previous ones.
395

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents