set ssh hostkey

Use this command to set or reinitialize new SSH authentication keys.

Syntax

set ssh hostkey [reinitialize] [type type]

Parameters

reinitialize (Optional) Reinitializes the server host authentication keys.
type type (Optional) Specify the hostkey type. Valid values are dsa or rsa. The default value is rsa.

Defaults

If reinitialize is not specified, the host key is set.

If type is not specified, the type is set to rsa.

Mode

All command modes.

Example

This example shows how to regenerate SSH keys:

System(rw)->set ssh hostkey reinitialize