To enable SSH host key persistence on a device

Purpose

Perform this procedure to enable the persistence of the server host key on a 7210 SAS, 7450 ESS, 7750 SR, 7705 SAR, or 7950 XRS. For other devices, see the user documentation for information about configuring SSH2 host key persistence.

Steps
 

Open a CLI session on the device.


Enter the following at the prompt to disable the SSH server:

configure system security ssh server-shutdown ↵


Enter the following at the prompt to enable host key persistence:

configure system security ssh preserve-key ↵


Enter the following at the prompt to enable the SSH server:

configure system security ssh no server-shutdown ↵


Enter the following at the prompt to verify that the preserve-key function is enabled on the server:

show system security ssh ↵


Close the CLI session.


If you are performing this procedure for device discovery, see Workflow for device discovery for the next steps.

End of steps