[SwitchB-luser-client001] service-type ssh level 3[SwitchB-luser-client001] quit# Configure the authentication type of user client001 as password.[SwitchB] ssh user client001 authentication-type passwordz Configure Switch A# Create a VLAN interface on the switch and assign an IP address, which serves as the SSH client’saddress in an SSH connection. system-view[SwitchA] interface vlan-interface 1[SwitchA-Vlan-interface1] ip address 10.165.87.137 255.255.255.0[SwitchA-Vlan-interface1] quit# Establish a connection to the server 10.165.87.136.[SwitchA] ssh2 10.165.87.136Username: client001Trying 10.165.87.136 ...Press CTRL+K to abortConnected to 10.165.87.136 ...The Server is not authenticated. Do you continue to access it?(Y/N):yDo you want to save the server's public key?(Y/N):nEnter password:After you enter the correct password, you can log into Router B successfully.When Switch Acts as Client for Publickey AuthenticationNetwork requirementsAs shown in Figure 55-31, establish an SSH connection between Switch A (SSH Client) and Switch B(SSH Server) for secure data exchange. The user name is client001 and the SSH server’s IP address is10.165.87.136. Publickey authentication is required.Network diagramFigure 55-31 Switch acts as client for publickey authenticationConfiguration procedurez Configure Switch B# Create a VLAN interface on the switch and assign an IP address, which the SSH client will use as thedestination for SSH connection. system-view[SwitchB] interface vlan-interface 1[SwitchB-Vlan-interface1] ip address 10.165.87.136 255.255.255.0