This repository has been archived on 2025-09-06. You can view files and clone it, but cannot push or open issues/pull-requests.
|
[Unit]
|
|
Description=Generate SSH %I host key
|
|
ConditionPathExists=!%S/ssh/ssh_host_%I_key
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
StateDirectory=ssh
|
|
ExecStart=/usr/bin/ssh-keygen -t %I -f %S/ssh/ssh_host_%I_key -N ''
|
|
|
|
[Install]
|
|
WantedBy=sshd-keygen.target
|