294CHAPTER 32: SSH CONFIGURATION GUIDE

#Display the 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

n After generating a key pair on a client, you need to manually configure the host public key on the server and have the configuration on the server done before continuing configuration on the client.

# Establish a connection to the server 10.165.87.136.

[3Com] ssh2 10.165.87.136

Username: client001

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

**********************************************************************

 

*

Copyright(c) 2004-2007 Hangzhou 3Com Tech. Co., Ltd. All rights reserved.*

 

*

Without the owner’s prior written consent,

*

*

no decompiling or reverse-switch fabricering shall be allowed.

*

**********************************************************************

<3Com>

Complete Configuration Configure Switch B

#

rsa peer-public-key Switch001 public-key-code begin

3047

0240

C8969B5A 132440F4 0BDB4E5E 40308747 804F608B 349EBD6A B0C75CD

F 8B84DBE7

D5E2C4F8 AED72834 74D3404A 0B14363D D709CC63 68C8CE00 57C0EE6

B074C0CA9

0203

010001

public-key-code end peer-public-key end

#

interface Vlan-interface1

Page 294
Image 294
3Com 4210, 5500G, 4200G manual # Display the host public key, # Establish a connection to the server