1-14
Figure 1-2 SSH client configuration interface
In the window shown in
Figure 1-2, click Open. If the connection is normal, you will be prompted to enter
the username and password. After entering the correct username (client001) and password (aabbcc),
you can enter the configuration interface.
When Switch Acts as Server for Publickey Authentication
Network requirements
z As shown in Figure 1-3, a local SSH connection is established between the host (the SSH client)
and the switch (the SSH server) for secure data exchange.
z Publickey authentication is used, the algorithm is RSA.
Figure 1-3 Switch acts as server for publickey authentication
SSH client SSH server
Host Switch
192.168.1.56/24
Vlan-int1
192.168.1.40/24
Configuration procedure
1) Configure the SSH server
# Generate RSA and DSA key pairs and enable SSH server.
<Switch> system-view
[Switch] public-key local create rsa