[Unit] Description=SSH ED25519 Keygeneration. After=syslog.target Before=sshd.service ConditionPathExists=!/etc/ssh/ssh_host_ed25519_key [Service] Type=oneshot ExecStart=/usr/bin/ssh-keygen -q -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -C '' -N '' RemainAfterExit=yes