ip ssh crypto zeroize
ip ssh save host-key
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
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
Console#ip ssh crypto zeroize dsa
Console#
Related Commands
ip ssh crypto host-key generate (236)
ip ssh save host-key (237)
no ip ssh server (233)
This command saves the host key from RAM to flash memory.
Syntax
ip ssh save host-key
Default Setting
Saves both the DSA and RSA key.
Command Mode
Privileged Exec
Example
Console#ip ssh save host-key dsa
Console#
Chapter 7
– 237 –
| Authentication Commands
Secure Shell
ip