H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples
SSH Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 3 SSH Configuration Examples
3-19
Connected to 10.165.87.136 ...
The Server is not authenticated. Do you continue to access it?(Y/N):y
Do you want to save the server's public key?(Y/N):n
*******************************************************************
* Copyright (c) 2004-2007 Hangzhou H3C Technologies Co., Ltd. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
*******************************************************************
<H3C>
3.1.5 When the Switch Acts as an SSH Client and First-time authentication is
not Supported
I. Network requirements
As shown in Figure 3-17, establish an SSH connection between Switch A (SSH Client)
and Switch B (SSH Server) for secure data exchange. The user name is client001 and
the SSH server’s IP address is 10.165.87.136. The RSA authentication mode is used to
enhance security.
II. Network diagram
Figure 3-17 Network diagram of SSH client configuration
III. Configuration procedure
1) Configure Switch B
# Create a VLAN interface on the switch and assign an IP address, which the SSH
client will use to connect with the SSH server.
<H3C> system-view
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] ip address 10.165.87.136 255.255.255.0
[H3C-Vlan-interface1] quit
# Generate an RSA key pair.
[H3C] rsa local-key-pair create
# Set the authentication mode for the user interfaces to AAA.