32

SSH CONFIGURATION GUIDE

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

 

 

SSH client

 

SSH server

192.168.0.2/24

Vlan-int1

192.168.0.1/24

 

 

 

 

 

Host

 

Switch

Networking and In scenarios where users log into a switch over an insecure network, SSH can be Configuration used to ensure the security of data exchange to the maximum extent. As shown in Requirements 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

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 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

Page 279
Image 279
3Com 4200G, 5500 SSH Configuration Guide, Configuration Procedure Configure the SSH server, # Generate an RSA key pair