284 CHAPTER 32: SSH CONFIGURATION GUIDE
[3Com-ui-vty0-4] user privilege level 3
[3Com-ui-vty0-4] quit
# Configure the authentication method of the SSH client named client001 as
RSA.
[3Com] ssh user client001 authentication-type rsa
nBefore performing the following steps, you must generate an RSA key pair by
using the client software on the client, save the public key in a file named public,
and then upload the file to the SSH server through FTP or TFTP. For details, refer to
“Configure the SSH client” on page 284.
# Import the client’s public key named Switch001 from file public.
[3Com] rsa peer-public-key Switch001 import sshkey public
# Assign the public key Switch001 to client client001.
[3Com] ssh user client001 assign rsa-key Switch001
Configure the SSH client
# Generate an RSA key pair, taking PuTTYGen as an example.
1Run PuTTYGen.exe, choose SSH-2 RSA and click Generate.
Figure91 Client key pair generation interface 1