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
 
1 

Open a CLI session on the device.


2 

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

configure system security ssh server-shutdown ↵


3 

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

configure system security ssh preserve-key ↵


4 

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

configure system security ssh no server-shutdown ↵


5 

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

show system security ssh ↵


6 

Close the CLI session.


7 

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

End of steps