![Huawei Quidway NetEngine80 Configuration Manual Download Page 187](http://html.mh-extra.com/html/huawei/quidway-netengine80/quidway-netengine80_configuration-manual_169456187.webp)
9 Telnet and SSH
Quidway NetEngine80
Configuration Guide - Basic Configurations
9-26
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2009-12-20)
The current operating directory of users is displayed.
z
Run:
dir/ls
[
remote-directory
]
The file list in the specified directory is displayed.
z
Run:
rmdir
remote-directory
The directory on the server is deleted.
z
Run:
mkdir
remote-directory
A directory is created on the server.
----End
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.
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.
z
Run:
rename
old-name new-name
The name of the specified file on the server is changed.
z
Run:
get
remote-file
[
local-file
]
The file on the remote server is downloaded.
z
Run:
put
local-file
[
remote-file
]
The local file is uploaded to the remote server.
z
Run:
remove
remote-file