2013-05-21 16:37:18 +00:00
|
|
|
[Unit]
|
|
|
|
Description=OpenSSH Server Key Generation
|
|
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
|
2014-02-19 12:58:34 +00:00
|
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
|
2014-06-03 15:47:56 +00:00
|
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
|
|
|
|
PartOf=sshd.service sshd.socket
|
2013-05-21 16:37:18 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStart=/usr/sbin/sshd-keygen
|
|
|
|
Type=oneshot
|
2014-06-03 15:47:56 +00:00
|
|
|
RemainAfterExit=yes
|