3Com 5500 Switch User Manual


 
298 CHAPTER 32: SSH CONFIGURATION GUIDE
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.
# Disable first-time authentication.
[3Com] undo ssh client first-time
n
When the switch acting as the SSH client does not support first-time
authentication, you need to manually configure the server host public key on it.
# Configure the server public key Switch002 on the client.
[3Com] rsa peer-public-key Switch002
RSA public key view: return to System View with "peer-public-key end".
[3Com-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[3Com-rsa-key-code] 308188
[3Com-rsa-key-code] 028180
[3Com-rsa-key-code] C9330FFD 2E2A606F 3BFD5554 8DACDFB8 4D754E86
[3Com-rsa-key-code] FC2D15E8 1996422A 0F6A2A6A A94A207E 1E25F3F9
[3Com-rsa-key-code] E0EA01A2 4E0F2FF7 B1D31505 39F02333 E443EE74
[3Com-rsa-key-code] 5C3615C3 E5B3DC91 D41900F0 2AE8B301 E55B1420
[3Com-rsa-key-code] 024ECF2C 28A6A454 C27449E0 46EB1EAF 8A918D33
[3Com-rsa-key-code] BAF53AF3 63B1FB17 F01E4933 00BE2EEA A272CD78
[3Com-rsa-key-code] C289B7DD 2BE0F7AD
[3Com-rsa-key-code] 0203
[3Com-rsa-key-code] 010001
[3Com-rsa-key-code] public-key-code end
[3Com-rsa-public-key] peer-public-key end
[3Com]
# Specify the server public key on the client.
[3Com] ssh client 10.165.87.136 assign rsa-key Switch002
# 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 ...
**********************************************************************
* 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