mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-06 02:25:09 +02:00
17 lines
630 B
Desktop File
17 lines
630 B
Desktop File
[Unit]
|
|
Description=OpenSSH server Key Generation
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_dsa_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ecdsa_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_key.pub
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key
|
|
ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/ssh-keygen -A
|
|
RemainAfterExit=yes
|