
392
C
HAPTER
36: SSH C
ONFIGURATION
Exporting the RSA or
DSA Public Key
You can display the generated RSA or DSA key pair on the screen in a specified
format, or export it to a specified file for configuring the key at a remote end.
n
The DSA public key format can be SSH2 and OpenSSH, while the RSA public key
format can be SSH1, SSH2 and OpenSSH.
Creating an SSH User
and Specify an
Authentication Type
This task is to create an SSH user and specify an authentication type for it.
Specifying an authentication type for a new user is a must to get the user login.
c
CAUTION:
■
For
password
authentication type, the
username
argument must be consistent
with the valid user name defined in AAA; for publickey authentication, the
username
argument is the SSH local user name, so that there is no need to
configure a local user in AAA.
■
If the default authentication type for SSH users is
password
and local AAA
authentication is adopted, you need not use the
ssh user
command to create
an SSH user. Instead, you can use the
local-user
command to create a user
name and its password and then set the service type of the user to SSH.
■
If the default authentication type for SSH users is password and remote
authentication (RADIUS authentication, for example) is adopted, you need not
use the
ssh user
command to create an SSH user, because it is created on the
Table 302
Export the RSA public key
Operation
Command
Remarks
Enter system view
system-view
Display the RSA key on the
screen in a specified format or
export it to a specified file
public-key local export
rsa
{
openssh
|
ssh1
|
ssh2
} [
filnename
]
Required
Table 303
Export the DSA public key
Operation
Command
Remarks
Enter system view
system-view
Display the DSA key on the
screen in a specified format or
export it to a specified file
public-key local export dsa
{
openssh
|
ssh2
} [
filnename
]
Required
Table 304
Configure an SSH user and specify an authentication type for it
Operation
Command
Remarks
Enter system view
system-view
Specify the default
authentication type for all SSH
users
ssh authentication-type
default
{
all
|
password
|
password-publickey
|
publickey
|
rsa
}
Use either command.
By default, no SSH user is
created and no authentication
type is specified.
Note that: If both commands
are used and different
authentication types are
specified, the authentication
type specified with the
ssh
user authentication-type
command takes precedence.
ssh user
username
Create an SSH user, and
specify an authentication type
for it
ssh user
username
authentication-type
{
all
|
password
|
password-publickey
|
publickey
|
rsa
}
Содержание 4210 PWR
Страница 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...