Generating and Deleting a Client RSA Key Pair

RSA client keys with a size of 2048, 3072, or 4096 bits can be created. The following example generates a client RSA key pair with a modulus size of 2048 bits.

device# configure terminal
device(config)# crypto key client generate rsa modulus 2048

The following example deletes the RSA host key pair.

device# configure terminal
device(config)# no crypto key client zeroize rsa
Note: The crypto key client zeroize command without additional parameters removes all RSA keys from flash memory, thereby disabling SSH.