kentpeacock / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
f09e2e
[Unit]
f09e2e
Description=OpenSSH Server Key Generation
f09e2e
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
017ff1
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
017ff1
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
017ff1
PartOf=sshd.service sshd.socket
f09e2e
f09e2e
[Service]
f09e2e
ExecStart=/usr/sbin/sshd-keygen
f09e2e
Type=oneshot
017ff1
RemainAfterExit=yes