3Com 5500-SI Switch User Manual


 
204 CHAPTER 15: SSH TERMINAL SERVICES
The manual mode is rather complex since it requires format conversation with the
specific software first and then manual configuration.
2 Automatic mode with the command
Operations on the client include:
SSH1.5/2.0-supported client software generates randomly RSA key pairs.
Send the public key file to the Flash memory of the server using FTP/TFTP.
Operations on the server are described in Table 185.
The automatic mode is recommended for its simplicity.
Table 184 Configure client public keys
Operation Command Description
Enter system view system-view -
Enter public key view rsa peer-public-key
key-name
Required
Enter public key edit view public-key-code begin Required
You can key in a blank space
between characters, since the system
can remove the blank space
automatically. But the public key
should be composed of hexadecimal
characters.
Return to public key view and
save the public keys
public-key-code end Required
The system saves public key data
when exiting from public key edit
view
Return to system view peer-public-key end -
Allocate public keys to SSH
users
ssh user username assign
rsa-key keyname
Required
Keyname is the name of an existing
public key. If the user already has a
public key, the new public key
overrides the old one.
Table 185 Configure client public keys
Operation Command Description
Enter system view system-view -
Convert the format and
automatically configure the
client public keys
rsa peer-public-key
key-name import sshkey
filename
Required
The filename in the command must
be consistent with the public key file
name to be sent to the server Flash
memory.