3com 4210 PWR 9-Port 3CR17341-91-ME User Manual
Product codes
3CR17341-91-ME
422
C
HAPTER
36: SSH C
ONFIGURATION
n
After generating the public key, you need to upload the key pair file to the server
through FTP or TFTP and complete the server end configuration before you
continue to configure the client.
through FTP or TFTP and complete the server end configuration before you
continue to configure the client.
# Disable first-time authentication on the device.
[4210] undo ssh client first-time
n
When first-time authentication is not supported, you must first generate a DSA
key pair on the server and save the public key in a file named Switch002, and then
upload the file to the SSH client through FTP or TFTP. For details, refer to the above
section "Configure Switch B".
key pair on the server and save the public key in a file named Switch002, and then
upload the file to the SSH client through FTP or TFTP. For details, refer to the above
section "Configure Switch B".
# Import the public key named Switch002 from the file Switch002.
[4210] public-key peer Switch002 import sshkey Switch002
# Specify the host public key name of the server.
[4210] ssh client 10.165.87.136 assign publickey Switch002
# Establish the SSH connection to server 10.165.87.136.
[4210] ssh2 10.165.87.136 identity-key dsa
Username: client001
Trying 10.165.87.136 ...
Press CTRL+K to abort
Connected to 10.165.87.136 ...
*************************************************************************
* Copyright(c) 2004-2007 3Com Corporation. *
* Without the owner’s prior written consent, *
* no decompiling or reverse-switch fabricering shall be allowed. *
*************************************************************************
<4210>