Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.4

execute ssh-regen-keys

execute ssh-regen-keys

generates (or regenerates, if previously created) SSH host keys

Synopsis

execute ssh-regen-keys generates (or regenerates) SSH host keys.

If the current host is not a VM, a current host user that will own the keys must be specified to the --owner flag.

execute ssh-regen-keys [flags]

Options

  -h, --help   help for ssh-regen-keys

See also

  • execute - for executing commands on the host

execute ssh-regen-keys

execute ssh-regen-keys

generates (or regenerates, if previously created) SSH host keys

Synopsis

execute ssh-regen-keys generates (or regenerates) SSH host keys.

If the current host is not a VM, a current host user that will own the keys must be specified to the --owner flag.

execute ssh-regen-keys [flags]

Options

  -h, --help   help for ssh-regen-keys

See also

  • execute - for executing commands on the host