Configuring the Switch to Act as the SSH Client and Not to Support First-Time Authentication 297

# Display the server host public key.

[3Com] display rsa local-key-pair public

=====================================================

Time of Key pair created: 09:04:41 2000/04/04

Key name: 3Com_Host

Key type: RSA encryption Key

=====================================================

Key code: 308188

028180

C9330FFD 2E2A606F 3BFD5554 8DACDFB8 4D754E86 FC2D15E8 1996422A 0F6A2A6A A94A207E 1E25F3F9 E0EA01A2 4E0F2FF7 B1D31505 39F02333 E443EE74 5C3615C3 E5B3DC91 D41900F0 2AE8B301 E55B1420 024ECF2C 28A6A454 C27449E0 46EB1EAF 8A918D33 BAF53AF3 63B1FB17 F01E4933 00BE2EEA A272CD78 C289B7DD 2BE0F7AD

0203

010001

Omitted

Configure Switch A

#Create a VLAN interface on the switch and assign an IP address for it. This address will serve as the SSH client’s address for SSH connection.

<3Com> system-view

[3Com] interface vlan-interface 1 [3Com-Vlan-interface1] ip address 10.165.87.137 255.255.255.0

[3Com-Vlan-interface1] quit

# Generate an RSA key pair.

[3Com] rsa local-key-pair create

# Display the client host public key.

<3Com> display rsa local-key-pair public

=====================================================

Time of Key pair created: 05:15:04 2006/12/08

Key name: 3Com_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

Page 297
Image 297
3Com 5500G, 4210, 4200G manual # Display the server host public key, # Display the client host public key