diff --git a/sshd-keygen.service b/sshd-keygen.service new file mode 100644 index 0000000..bfef328 --- /dev/null +++ b/sshd-keygen.service @@ -0,0 +1,12 @@ +[Unit] +Description=SSH server keys generation. +After=syslog.target +Before=sshd.service + +[Service] +Type=oneshot +ExecStart=/usr/sbin/sshd-keygen +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target