3com S7906E Guide De Référence
1-10
[Sysname-pkey-key-code]FF1877A5E2E7B1FA4710DB0744F66F6600EEFE166F1B854E2371D5B952ADF6B80
EB5F52698FCF3D6
[Sysname-pkey-key-code]1F0C2EAAD9813ECB16C5C7DC09812D4EE3E9A0B074276FFD4AF2050BD4A9B1DDE
675AC30CB020301
[Sysname-pkey-key-code]0001
[Sysname-pkey-key-code] public-key-code end
[Sysname-pkey-public-key]
public-key local create
Syntax
public-key local create rsa
View
System view
Default Level
2: System level
Parameters
rsa: RSA key pair.
Description
Use the public-key local create command to create a local key pair.
Note that:
z
When using this command to create a RSA key pair, you will be prompted to provide the length of
the key pair. The length of a server/host key must be in the range 512 to 2048 bits and defaults to
1024. If the key pair already exists, the system will ask you whether you want to overwrite it.
z
The configuration of this command can survive a reboot. You only need to configure it once.
Related commands: public-key local destroy, display public-key local.
Examples
# Create an RSA local key pair.
<Sysname> system-view
[Sysname] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It may take a few minutes.
Press CTRL+C to abort.
Input the bits in the modulus [default = 1024]:
Generating keys...
........++++++
....................................++++++
.......++++++++
......................++++++++
.