Example
The following example generates DSA key pairs.
Console(config)# crypto key generate dsa
crypto key generate rsa
The crypto key generate rsa Global Configuration mode command generates RSA key pairs.
Syntax
crypto key generate rsa
Default Configuration
RSA key pairs do not exist.
Command Mode
Global Configuration mode
User Guidelines
•
RSA keys are generated in pairs: one public RSA key and one private RSA key. If the device
already has RSA 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.
•
RSA keys are saved to the backup master.
•
This command may take a considerable period of time to execute.
Example
The following example generates RSA key pairs.
Console(config)# crypto key generate rsa
ip ssh pubkey-auth
The ip ssh pubkey-auth Global Configuration mode command enables public key
authentication for incoming SSH sessions. To disable this function, use the no form of this
command.
D E L L C O N F I D E N T I A L – P R E L I M I N A R Y 9 / 1 3 / 0 6 – F O R P R O O F O N LY
339
SSH Commands