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