File sshd-gen-keys-start of Package openssh.11675

#!/bin/sh
if ! grep -q '^[[:space:]]*HostKey[[:space:]]' /etc/ssh/sshd_config; then
    echo "Checking for missing server keys in /etc/ssh"
    ssh-keygen -A
fi