4 Command Line Interface

Command Mode

Privileged Exec

Command Usage

This command clears the host key from volatile memory (RAM). Use the no ip ssh save host-keycommand 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 (4-51) ip ssh save host-key(4-52)

no ip ssh server (4-48)

ip ssh save host-key

This command saves host key from RAM to flash memory.

Syntax

ip ssh save host-key [dsa rsa]

dsa – DSA key type.

rsa – RSA key type.

Default Setting

Saves both the DSA and RSA key.

Command Mode

Privileged Exec

Example

Console#ip ssh save host-key dsa

Console#

Related Commands

ip ssh crypto host-key generate (4-51)

show ip ssh

This command displays the connection settings used when authenticating client access to the SSH server.

Command Mode

Privileged Exec

4-52

Page 348
Image 348
Accton Technology ES3528M-SFP manual Show ip ssh, Syntax Ip ssh save host-key dsa rsa