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-18
2) Configure Switch A
# Create a VLAN interface on the switch and assign an IP address, which serves as the
SSH client’s address in an SSH connection.
<H3C> system-view
[H3C] interface vlan-interface 1
[H3C-Vlan-interface1] ip address 10.165.87.137 255.255.255.0
[H3C-Vlan-interface1] quit
# Generate an RSA key pair
[H3C] rsa local-key-pair create
# Display the RSA public key on the client.
<H3C> display rsa local-key-pair public
=====================================================
Time of Key pair created: 05:15:04 2006/12/08
Key name: H3C_Host
Key type: RSA encryption Key
=====================================================
Key code:
3047
0240
C8969B5A 132440F4 0BDB4E5E 40308747 804F608B
349EBD6A B0C75CDF 8B84DBE7 D5E2C4F8 AED72834
74D3404A 0B14363D D709CC63 68C8CE00 57C0EE6B
074C0CA9
0203
010001
<Omitted>
Note:
After generating an RSA key pair on the client, you need to configure the RSA public
key on the SSH server and complete the SSH server configuration before continuing to
configure the SSH client.
# Establish an SSH connection to the server 10.165.87.136.
[H3C] ssh2 10.165.87.136
Username: client001
Trying 10.165.87.136 ...
Press CTRL+K to abort