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.
Table 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
Table 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.
Содержание Switch 4210 9-Port
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564 ...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Страница 340: ...338 CHAPTER 30 CLUSTER ...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...