300CHAPTER 32: SSH CONFIGURATION GUIDE
Configuring SFTP
Network Diagram | Figure 101 Network diagram for configuring SFTP | ||||||
| SSH server |
| SSH client | ||||
|
| Vlan |
| Vlan |
|
| |
|
| 10 .165 .87.136 /24 | 10.165.87.137/24 |
|
|
| |
| Switch B |
| Switch A |
|
| ||
Networking and | As shown in Figure 101, establish an SSH connection between the SFTP client | ||||||
Configuration | (Switch A) and the SFTP server (Switch B). Log in to Switch B with the username | ||||||
Requirements | client001 and password abc through Switch A to manage and transfer files. | ||||||
Applicable Products |
|
|
|
|
|
|
|
| Product series | Software version | Hardware version | ||||
|
|
|
|
| |||
| Switch 5500 | Release V03.02.04 | All versions | ||||
| Switch 5500G | Release V03.02.04 | All versions | ||||
| Switch 4500 | Release V03.03.00 | All versions | ||||
| Switch 4210 | Release V03.01.00 | All versions | ||||
Configuration Procedure |
|
|
| ||||
■ Configure the SFTP server (Switch B) |
|
|
# Generate an RSA key pair.
[3Com] rsa
#Create a VLAN interface on the switch and assign an IP address for it. The SSH client will use this address as the destination for SSH connection.
[3Com] interface
# Set the authentication mode for the user interfaces to AAA.
[3Com]
# Enable the user interfaces to support SSH.
# Create a local user named client001.
[3Com]