Users Guide

Table Of Contents
Security Commands 1185
crypto key zeroize {rsa|dsa}
Use the crypto key zeroize {rsa|dsa} command in Global Configuration
mode to delete the RSA or DSA public and private keys from the switch.
Syntax
crypto key zeroize {rsa|dsa}
Default Configuration
There is no default configuration for this command.
Command Mode
Global Configuration mode.
User Guidelines
The crypto key zeroize rsa command removes the following files:
ssh_host_key
ssh_host_rsa_key
ssh_host_key.pub
ssh_host_rsa_key.pub
The crypto key zeroize dsa command removes the following files:
ssh_host_dsa_key
ssh_host_dsa_key.pub
Removing the keys does not terminate existing SSH sessions.
Example
console(config)#crypto key zeroize rsa