mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
14 lines
352 B
SYSTEMD
14 lines
352 B
SYSTEMD
![]() |
[Unit]
|
||
|
Description=OpenBSD Secure Shell server Host Key Generation
|
||
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ecdsa_key
|
||
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_ed25519_key
|
||
|
ConditionFileNotEmpty=|!/etc/ssh/ssh_host_rsa_key
|
||
|
Before=ssh.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/sbin/ssh-generate-hostkeys
|
||
|
Type=oneshot
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|