Managing The Directory - Huawei Quidway NetEngine 20 series Configuration Manual

Hide thumbs Also See for Quidway NetEngine 20 series:
Table of Contents

Advertisement

9 Telnet and SSH
Step 2 Run:
sftp { [ -a X.X.X.X ] host-ipv4 | ipv6 [-a X:X::X:X ] host-ipv6 [ -i { interface-type
interface-number | interface-name } ] } [ port ] [ prefer-kex { dh-group1 |
dh-exchange-group } ] [ prefer-ctos-cipher { des | 3des | aes128 } ] [ prefer-stoc-cipher
{ des | 3des | aes128 } ] [ prefer-ctos-hmac { sha1 | sha1-96 | md5 | md5-96 } ]
[ prefer-stoc-hmac { sha1 | sha1-96 | md5 | md5-96 } ] [ -vpn-instance vpn-instance-name ]
The SSH server is logged in to through SFTP.
----End

9.6.5 Managing the Directory

Do as follows on the router that serves as the SSH client:
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
sftp { [ -a X.X.X.X ] host-ipv4 | ipv6 [-a X:X::X:X ] host-ipv6 [ -i { interface-type
interface-number | interface-name } ] } [ port ] [ prefer-kex { dh-group1 |
dh-exchange-group } ] [ prefer-ctos-cipher { des | 3des | aes128 } ] [ prefer-stoc-cipher
{ des | 3des | aes128 } ] [ prefer-ctos-hmac { sha1 | sha1-96 | md5 | md5-96 } ]
[ prefer-stoc-hmac { sha1 | sha1-96 | md5 | md5-96 } ] [ -vpn-instance vpn-instance-name ]
The SFTP client view is displayed.
Step 3 Perform the following as required:
cd remote-directory
cdup
pwd
dir/ls [ remote-directory ]
rmdir remote-directory
9-22
The command of enabling the SFTP client is similar to that of the STelnet. When accessing the SSH
server, the SFTP can carry the source address and the name of the VPN instance and choose the key
exchange algorithm, encrypted algorithm and HMAC algorithm.
Run:
The current operating directory of users is changed.
Run:
The operating directory of users is switched to the upper-level directory.
Run:
The current operating directory of users is displayed.
Run:
The file list in the specified directory is displayed.
Run:
The directory on the server is deleted.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway NetEngine20/20E
Configuration Guide - Basic Configurations
Issue 05 (2010-01-30)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway netengine 20e seriesV200r005

Table of Contents