When the SSH host keys are partially provided from customfiles the generation of new host keys fails. When not executed in an interactive shell the dialog to overwrite the existing file cannot be confirmed. With this change the generation attempt is skipped in case the target file already exists.
When the SSH host keys are partially provided from
customfiles
the generation of new host keys fails. When not executed in an interactive shell the dialog to overwrite the existing file cannot be confirmed. With this change the generation attempt is skipped in case the target file already exists.