H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches Chapter 1
SSH Terminal Service Configuration
1-16
To do... Use the command... Remarks
bye
exit
Disable the SFTP client
quit
The three commands
have the same function.
III. Operating with SFTP directories
SFTP directory-related operations include: changing or displaying the current directory,
creating or deleting a directory, and displaying files or information of a specific directory.
Table 1-14 Operate with SFTP directories
To do... Use the command... Remarks
Enter system view
system-view
Enter SFTP client view
sftp { host-ip |
host-name }
Change the current
directory
cd [ remote-path ]
Return to the upper-level
directory
cdup
Display the current
directory
pwd
Optional
dir [ -a | -l ] [ remote-path ]
Display the list of the files
in a directory
ls [ -a | -l ] [ remote-path ]
Optional
The dir and ls commands
have the same function.
Create a directory on the
SFTP server
mkdir remote-path
Delete a directory from
the SFTP server
rmdir
remote-path&<1-10>
Optional
IV. Operating with SFTP files
SFTP file-related operations include: changing file name, downloading files, uploading
files, displaying the list of the files, and deleting files.