DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
548
60.
Secure Shell (SSH) Commands
60-1
crypto key generate
This command is used to generate the RSA or DSA key pair.
crypto key generate {rsa [modulus MODULUS-SIZE] | dsa}
Parameters
rsa
Specifies to generate the RSA key pair.
dsa
Specifies to generate the DSA key pair. The DSA key size is fixed
as 1024 bit.
modulus MODULUS-SIZE
(Optional) Specifies the number of bits in the modulus. For RSA, the
valid values are 360, 512, 768, 1024, and 2048.If not specified, a
message will be promoted to the user to specify the value.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 15.
Usage Guideline
This command is used to generate the RSA or DSA key pair.
Example
This example shows how to create an RSA key.
Switch# crypto key generate rsa
The RSA key pairs already existed.
Do you really want to replace them? (y/n) [n]y
Choose the size of the key modulus in the range of 360 to 2048.The process may take
a few minutes.
Number of bits in the modulus [768]: 768
Generating RSA key...Done
Switch#
60-2
crypto key zeroize
This command is used to delete the RSA or DSA key pair.
crypto key zeroize {rsa | dsa}
Parameters
rsa
Specifies to delete the RSA key pair.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...