Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

emscli execute ssh-regen-keys

emscli 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.

emscli execute ssh-regen-keys [flags]

Options

  -h, --help           help for ssh-regen-keys
      --owner string   The user on the host which will be the owner of the authorization keys

See also

emscli execute ssh-regen-keys

emscli 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.

emscli execute ssh-regen-keys [flags]

Options

  -h, --help           help for ssh-regen-keys
      --owner string   The user on the host which will be the owner of the authorization keys

See also