Configuring the Switch to Act as the SSH Client and Use Password Authentication 291
#Create local user client001, and set the authentication password to abc, protocol type to SSH, and command privilege level to 3 for the client.
[3Com]
# Specify the authentication method of user client001 as password.
[3Com] ssh user client001
■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>
[3Com] interface
# 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
Enter password:
**********************************************************************
* Copyright(c)
* | Without the owner’s prior written consent, | * |
* | no decompiling or | * |
********************************************************************** |
|
<3Com>
Complete Configuration ■ Configure Switch B
#
#
interface
ip address 10.165.87.136 255.255.255.0
#
ssh user client001
#