Ip ssh save host-key, Show ip ssh, Show ip ssh (4-142) – LevelOne FGL-2870 User Manual

Page 508: He ip ssh, Save host-key comma, Ip ssh save host-key (4-142)

Advertising
background image

Command Line Interface

4-142

4

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-141)
ip ssh save host-key (4-142)
no ip ssh server (4-138)

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

Related Commands

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

show ip ssh

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

Command Mode

Privileged Exec

Console#ip ssh crypto zeroize dsa
Console#

Console#ip ssh save host-key dsa
Console#

Advertising