Optional) Configuring The Authorized Directory Of The Sftp Service For Ssh Users; Checking The Configuration - Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quidway S2700 Series Ethernet Switches
Configuration Guide - Basic Configuration
Context
Do as follows on the switch that functions as an SSH server:
Procedure
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 user is configured.
By default, the service type of the SSH user is not configured.
----End
9.3.9 (Optional) Configuring the Authorized Directory of the SFTP
Service for SSH Users
You can configure a directory as an authorized directory to allow SSH users to use SFTP services.
Context
Do as follows on the switch that serves as an SSH server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ssh user username sftp-directory directoryname
The authorized directory of the SFTP service for SSH users is configured.
By default, the authorized directory of the SFTP service for SSH users is Flash.
----End

9.3.10 Checking the Configuration

After configuring SSH users, you can view SSH user information.
Prerequisite
The configuration of SSH Users are complete.
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 Telnet and SSH
129

Advertisement

Table of Contents
loading

Table of Contents