3Com 10014302 Network Router User Manual


 
An essential operation underlying a successful SSH login is generating local RSA
key-pairs by configuring rsa local-key-pair create. It is only necessary for you to
execute this command once and you do not have to execute it again after rebooting
the router..
For related command, see rsa local-key-pair destroy.
Example
Generate the host key pair and server key pair.
[3Com] rsa local-key-pair create
The key name will be: 3Com_Host
% RSA keys defined for 3Com_Host already exist.
Confirm to replace them? [yes/no]:y
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Input the bits in the modulus[default = 512]:
Generating keys...
.................++++++++++++
..............++++++++++++
...............++++++++
.................++++++++
The system will display the RSA key generating process information on the screen,
where, “.” indicates that the system has generated a random number and is testing
whether it is a prime number and “+” means that the system is testing to see whether
the prime number meets the requirement.
3.13 rsa local-key-pair destroy
Syntax
rsa local-key-pair destroy
View
System view
Parameter
None
3Com Router Command Reference Guide Addendum for V1.2
60