l Perform one or multiple of the following operations as required.
– Run:
cd [ remote-directory ]
The current operating directory of users is changed.
– Run:
pwd
The current operating directory of users is displayed.
– Run:
dir [ -l -a ] [ path ]
A list of files in the specified directory is displayed.
– Run:
rmdir remote-directory &<1-10>
The directory on the server is deleted.
– Run:
mkdir remote-directory
A directory is created on the server.
l Perform one or multiple of the following operations as required.
– Run:
rename old-name new-name
The name of the specified file on the server is changed.
– Run:
get remote-filename [ local-filename ]
The file on the remote server is downloaded.
– Run:
put local-filename [ remote-filename ]
The local file is uploaded to the remote server.
– Run:
rmdir remote-directory &<1-10>
The file on the server is removed.
----End
6.4.8 Checking the Configuration
After using SFTP to manage files, you can view SSH user information and global configurations
for the SSH server.
Prerequisites
The configurations of SSH users are complete.
Procedure
l Run the display ssh user-information username command on the SSH server to check
information about the SSH client.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - Basic Configuration 6 Managing the File System
Issue 04 (2012-05-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
124