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-13
system-view
The system view is displayed.
Step 2 Run:
ssh user user-name authorization-cmd aaa
The command line authorization is configured for the specified SSH client.
----End
After the command line authorization is configured for the SSH client through the RSA
authentication, you must perform the AAA configuration; otherwise, the command line
authorization does not become valid for the SSH client.
9.3.8 Configuring the Service Type of 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 service-type { sftp | stelnet | all }
The service type for the SSH client is configured.
----End
9.3.9 Configuring the Authorized Directory of SFTP Service 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 sftp-directory directoryname
The authorized directory of SFTP service for SSH users is configured.
----End
9.3.10 Checking the Configuration
Run the following commands to check the previous configuration.