Sftp Configuration Example - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches
Table 1-15 Operate with SFTP files
Enter system view
Enter SFTP client view
Change the name of a file
on the remote SFTP
server
Download a file from the
remote SFTP server
Upload a file to the remote
SFTP server
Display the list of files in a
directory
Delete a file from the
SFTP server
V. Displaying help information
You can display help information about a command, such as syntax and parameters.
Table 1-16 Display help information about SFTP client commands
Enter system view
Enter SFTP client view
Display help information about
SFTP client commands

1.2.4 SFTP Configuration Example

I. Network requirements
As shown in
An SSH connection is present between Switch A and Switch B.
Switch B serves as an SFTP server, with IP address being 10.111.27.91.
Switch A serves as an SFTP client.
An SSH user named abc with password being hello is created.
To do...
system-view
sftp { host-ip |
host-name }
rename old-name
new-name
get remote-file [ local-file ]
put local-file [ remote-file ]
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
delete
remote-file&<1-10>
remove
remote-file&<1-10>
To do...
Figure
1-3:
Chapter 1 SSH Terminal Service Configuration
Use the command...
Use the command...
system-view
sftp { host-ip | host-name }
help [ all | command-name ]
1-17
Remarks
Optional
Optional
The dir and ls commands
have the same function.
Optional
The delete and remove
commands have the
same function.
Remarks
Optional

Advertisement

Table of Contents
loading

Table of Contents