SFTP Configuration
Example
1 Configure Switch B (SFTP server)
2 Configure Switch A (SFTP client)
Displaying help information
You can display help information about a command, such as syntax and parameters.
Table 279 Display help information about SFTP client commands
Operation
Enter system view
Enter SFTP client view
Display help information about
SFTP client commands
Network requirements
As shown in Figure 103,
An SSH connection is present between Switch A and Switch B.
■
Switch B serves as an SFTP server, with IP address 10.111.27.91.
■
Switch A serves as an SFTP client.
■
An SSH user name abc with password hello is created.
■
Network diagram
Figure 103 Network diagram for SFTP configuration
PC
PC
Configuration procedure
a Enable the SFTP server.
[4200G] sftp server enable
b Specify SFTP service for SSH user abc.
[4200G] ssh user abc service-type sftp
a Establish a connection to the remote SFTP server and enter SFTP client view.
[4200G] sftp 10.111.27.91
Command
system-view
sftp { host-ip | host-name }
help [ command-name ]
Switch B
Switch B
SFTP Server
SFTP Server
IP address : 10.111.27.91
IP address : 10.111.27.91
SFTP Service 321
Remarks
-
-
Optional
Switch A
Switch A
SFTP Client
SFTP Client