SSH
H3C Low-End Ethernet Switches Configuration Examples
Chapter 3 SSH Configuration Example
3-1
Chapter 3 SSH Configuration Example
Note:
The S3600 software version in this configuration example is Release 1510.
3.1 SSH Configuration Example
3.1.1 When the Switch Acts as the SSH Server and the Authentication Type is
Password
I. Network requirements
As shown inFigure 3-1, establish an SSH connection between the host (SSH Client)
and the switch (SSH Server) for secure data exchange. The host runs SSH2.0 client
software. Password authentication is required.
II. Network diagram
Figure 3-1
Network diagram of SSH server configuration using password
authentication
III. Configuration procedure
1)
Configure the SSH server
# Create a VLAN interface on the switch and assign an IP address, which the SSH
client will use as the destination for SSH connection.
<H3C> system-view
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] ip address 192.168.0.1 255.255.255.0
[H3C-Vlan-interface1] quit
# Generate RSA key pairs.
[H3C] rsa local-key-pair create
# Set the authentication mode for the user interfaces to AAA.