Optional) Managing The File - Huawei V300R005 Configuration Manual

Quidway netengine80 core router
Hide thumbs Also See for V300R005:
Table of Contents

Advertisement

9 Telnet and SSH
----End

9.6.6 (Optional) Managing the File

Do as follows on the login router:
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
sftp { [ -a source-address ] host-ipv4 [ 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 ]
You can log in to the SSH server through SFTP.
Step 3 According to the requirement, select and perform one or more configurations below.
9-26
The current operating directory of users is displayed.
Run:
dir/ls [ remote-directory ]
The file list in the specified directory is displayed.
Run:
rmdir remote-directory
The directory on the server is deleted.
Run:
mkdir remote-directory
A directory is created on the server.
After the SFTP client logs in to the SSH server, you can create and delete the directory on the SSH
server, display the current operating directory and the file or information of the specified directory on
the SFTP client side.
Run:
rename old-name new-name
The name of the specified file on the server is changed.
Run:
get remote-file [local-file]
The file on the remote server is downloaded.
Run:
put local-file [remote-file]
The local file is uploaded to the remote server.
Run:
remove remote-file
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway NetEngine80
Configuration Guide - Basic Configurations
Issue 04 (2009-12-20)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway netengine80

Table of Contents