3com 5500 User Manual

Page of 336
32
SSH C
ONFIGURATION
 G
UIDE
Configuring the 
Switch to Act as the 
SSH Server and Use 
Password 
Authentication
Network Diagram
Figure 87   Network diagram for configuring the switch to act as the SSH server and use 
password authentication
 
Networking and
Configuration
Requirements
In scenarios where users log into a switch over an insecure network, SSH can be 
used to ensure the security of data exchange to the maximum extent. As shown in 
Figure 87, establish an SSH connection between the host (SSH client) and the 
switch (SSH server) for secure data exchange. The host runs SSH2 client software. 
Password authentication is required.
Applicable Products
Configuration Procedure
Configure the SSH server
# 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> system-view
[3Com] interface vlan-interface 1
[3Com-Vlan-interface1] ip address 192.168.0.1 255.255.255.0
[3Com-Vlan-interface1] quit 
# Generate an RSA key pair.
[3Com] rsa local-key-pair create 
SSH client
SSH server
Host
Switch
192.168.0.2/24
Vlan -int1
192 .168 .0.1/24
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