9070b3
[Unit]
9070b3
Description=OpenSSH %i Server Key Generation
9070b3
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_%i_key
9070b3
9070b3
[Service]
9070b3
Type=oneshot
9070b3
EnvironmentFile=-/etc/sysconfig/sshd
9070b3
ExecStart=/usr/libexec/openssh/sshd-keygen %i
9070b3
9070b3
[Install]
9070b3
WantedBy=sshd-keygen.target