# Specify the authentication method for user client002 as publickey, and assign the public key
Switch001 to the user.
[Switch] ssh user client002 service-type stelnet authentication-type publickey assign
publickey Switch001
Specify the private key file and establish a connection to the SSH server:
3.
Launch PuTTY.exe to enter the interface as shown in
a.
In the Host Name (or IP address) text box, enter the IP address of the server 192.168.1.40.
b.
Figure 56 Specifying the host name (or IP address)
Select Connection > SSH > Auth from the navigation tree.
c.
The window as shown in
Click Browse... to bring up the file selection window, navigate to the private key file
d.
(private.ppk) and click OK.
Figure 57
appears.
194
Figure
56.