Enabling The Sftp Service - Huawei netengine80e Configuration Manual

Hide thumbs Also See for netengine80e:
Table of Contents

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - Basic Configurations
Step 6 (Optional) Authorizing SSH Users Through the Command Line
SSH users can be authenticated in four modes: password, RSA, password-RSA, and all. In RSA
authentication mode, you can configure SSH users to be authorized based on command levels.
Run:
ssh user
The command line authorization is configured for the specified SSH user.
After configuring the authorization through command lines for the SSH user to perform RSA
authentication, you have to configure the AAA authorization. Otherwise, the command line
authorization for the SSH user does not take effect.
Step 7 Run:
ssh user
The service type of an SSH user is set to SFTP or all.
By default, the service type of the SSH user is not configured.
Step 8 Run:
ssh user
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 cfcard:.
----End

6.4.5 Enabling the SFTP Service

Before enjoying the STelnet service, you need to enable it.
Context
By default, the router is not enabled with the SFTP server function. Users can establish
connections with the router by using SFTP only after the router is enabled with the SFTP server
function.
Do as follows on the router that serves as an SSH server:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
sftp server enable
The SFTP service is enabled.
By default, the SFTP service is disabled.
----End
Issue 02 (2011-09-10)
By default, the retry times is 3.
user-name authorization-cmd aaa
username service-type { SFTP | all }
username sftp-directory directoryname
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Managing File System
124

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netengine40e

Table of Contents