1-18
Figure 1-9
SSH client configuration interface 2)
In the window shown in
Figure 1-9
, click
Open
. If the connection is normal, you will be prompted to enter
the username. After entering the correct username (
client002
), you can enter the configuration
interface.
SSH Client Configuration Examples
When Switch Acts as Client for Password Authentication
Network requirements
z
As shown in
Figure 1-10
, Switch A (the SSH client) needs to log into Switch B (the SSH server)
through the SSH protocol.
z
The username of the SSH client is
client001
and the password is
aabbcc
. Password
authentication is required.
Figure 1-10
Switch acts as client for password authentication
Configuration procedure
1) Configure the SSH server
# Create RSA and DSA key pairs and enable the SSH server.
<SwitchB> system-view
[SwitchB] public-key local create rsa
[SwitchB] public-key local create dsa
[SwitchB] ssh server enable