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-16
Trying 10.165.87.136 ...
Press CTRL+K to abort
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
Enter password:
*******************************************************************
* 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.4 When the Switch Acts as an SSH Client and the Authentication Type is RSA
I. Network requirements
As shown in Figure 3-16, 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. RSA authentication is required.
II. Network diagram
Figure 3-16 Network diagram of SSH client configuration when using publickey
authentication
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