Syntax
crypto key generate dsa
Default Setting
DSA key pairs do not exist.
Command Mode
Global Configuration mode
Command Usage
DSA keys are generated in pairs: one public DSA key and one private DSA
key. If the device already has DSA keys, a warning and prompt to replace the
existing keys with new keys are displayed.
This command is not saved in the device configuration; however, the keys
generated by this command are saved in the private configuration, which is
never displayed to the user or backed up on another device.
DSA keys are saved to the backup master.
This command may take a considerable period of time to execute.
Example
The following example generates DSA key pairs.
Console(config)# crypto key generate dsa
Related Commands
crypto key generate rsa
ip ssh pubkey-auth
crypto key pubkey-chain ssh
user-key
key-string
show crypto key mypubkey
show crypto key pubkey-chain ssh
crypto key generate rsa
The crypto key generate rsa Global Configuration mode command generates RSA
key pairs.
Syntax
crypto key generate rsa
Default Setting
RSA key pairs do not exist.
4
SSH Commands
593