Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
9 Telnet and SSH
Issue 05 (2010-01-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9-11
9.3.5 Configuring the Authentication Mode for SSH Users
Do as follows on the login router:
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ssh user
username
authentication-type
{
password | rsa | password-rsa | all
}
The authentication mode for SSH users is configured.
Perform the following as required:
z
Authenticate the SSH user through the password.
1.
Run:
ssh user
user-name
authentication-type password
The password authentication is configured for the SSH client.
2.
Run:
ssh authentication-type default password
The default password authentication is configured for the SSH client.
When the local authentication or HWTACACS authentication is adopted, if the number of
SSH users is small, configure the password authentication. If the number of SSH users is great,
configure the default password authentication for the SSH client.
z
Authenticate the SSH client through RSA.
1.
Run:
ssh user
user-name
authentication-type rsa
The RSA authentication is configured for the SSH client.
2.
Run:
rsa peer-public-key
key-name
The public key view is displayed.
3.
Run:
public-key-code begin
The public key editing view is displayed.
4.
Run:
hex-data
The public key is edited.
5.
Run:
public-key-code end
Quit the public key editing view.
6.
Run: