rutwa189 / rpms / openssh

Forked from rpms/openssh a year ago
Clone
8f2528
[Unit]
8f2528
Description=OpenSSH Server Key Generation
8f2528
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_rsa_key
8f2528
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ecdsa_key
8f2528
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ed25519_key
8f2528
PartOf=sshd.service sshd.socket
8f2528
8f2528
[Service]
8f2528
ExecStart=/usr/sbin/sshd-keygen
8f2528
Type=oneshot
8f2528
RemainAfterExit=yes