319
# 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
3.
Specify the private key file and establish a connection to the SSH server:
a.
Launch PuTTY.exe to enter the interface as shown in
b.
In the
Host Name (or IP address)
text box, enter the IP address of the server 192.168.1.40.
Figure 97
Specifying the host name (or IP address)
c.
Select
Connection
>
SSH
>
Auth
from the navigation tree.
The window as shown in
d.
Click
Browse…
to bring up the file selection window, navigate to the private key file
(
private.ppk
) and click
OK
.