CLI Guide

Table Of Contents
Security Commands 1191
Syntax
crypto key zeroize pubkey-chain ssh [user-key username]
Default Configuration
There is no default configuration for this command.
Command Mode
Global Configuration mode.
User Guidelines
The SSH server requires the public and private keys RSA/DSA keys to
operate.
Example
console(config)#crypto key zeroize pubkey-chain ssh user-key bob
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