C
OMMAND
L
INE
I
NTERFACE
4-54
Example
Related Commands
ip ssh crypto zeroize (4-54)
ip ssh save host-key (4-55)
ip ssh crypto zeroize
This command clears the host key from memory (i.e. RAM).
Syntax
ip ssh crypto zeroize [dsa | rsa]
- dsa – DSA key type.
- rsa – RSA key type.
Default Setting
Clears both the DSA and RSA key.
Command Mode
Privileged Exec
Command Usage
• This command clears the host key from volatile memory (RAM). Use
the no
ip ssh save host-key command to clear the host key from flash
memory.
• The SSH server must be disabled before you can execute this
command.
Example
Related Commands
ip ssh crypto host-key generate (4-53)
ip ssh save host-key (4-55)
no ip ssh server (4-49)
Console#ip ssh crypto host-key generate dsa
Console#
Console#ip ssh crypto zeroize dsa
Console#