EasyManua.ls Logo

3Com 4210 PWR - Page 397

3Com 4210 PWR
567 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuring the SSH Server 395
n
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.
Assigning a Public Key
to an SSH User
c
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.
n
Both the keywords publickey and rsa-key represent the public key, and have the
same implementation.
Tab le 309 Configure the client RSA public key manually
Operation Command Description
Enter system view system-view
Enter public key view rsa peer-public-key
keyname
Required
Enter public key edit view public-key-code begin
Configure the client RSA
public key
Enter the content of the RSA
public key
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.
Return from public key code
view to public key view
public-key-code end When you exit public key
code view, the system
automatically saves the public
key.
Return from public key view
to system view
peer-public-key end
Tab le 310 Assign a public key for an SSH user
Operation Command Remarks
Enter system view system-view
Assign a public key to an SSH
user
ssh user username assign {
publickey | rsa-key }
keyname
Required
If you issue this command
multiple times, the last
command overrides the
previous ones.

Table of Contents

Related product manuals