![H3C S5120-SI Series Operation Manual Download Page 461](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174461.webp)
2-15
# Specify the authentication type 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
2) Configure the SSH client
# Generate an RSA key pair.
Run PuTTYGen.exe, select
SSH-2 RSA
and click
Generate
.
Figure 1-4
Generate a client key pair 1)
While generating the key pair, you must move the mouse continuously and keep the mouse off the
green process bar shown in
Figure 1-5
. Otherwise, the process bar stops moving and the key pair
generating process will be stopped.