Users Guide

Table Of Contents
Security Commands 1220
crypto key zeroize {rsa|dsa|ecdsa}
Use the crypto key zeroize {rsa|dsa|ecdsa} command in Global
Configuration mode to delete the RSA, DSA, or ECDSA public and private
keys from the switch.
Syntax
crypto key zeroize {rsa|dsa|ecdsa}
rsa — RSA key.
dsa — DSA key.
ecdsa — Elliptic curve digital signature algorithm.
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