f09e2e
[Unit]
f09e2e
Description=OpenSSH Server Key Generation
f09e2e
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
f09e2e
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
f09e2e
f09e2e
[Service]
f09e2e
ExecStart=/usr/sbin/sshd-keygen
f09e2e
Type=oneshot