1 |
[Unit] |
[Unit] |
2 |
Description=SSH ED25519 Keygeneration. |
Description=Dropbear ED25519 Keygeneration. |
3 |
After=syslog.target |
After=syslog.target |
4 |
Before=sshd.service |
Before=sshd.service |
5 |
ConditionPathExists=!/etc/ssh/ssh_host_ed25519_key |
ConditionPathExists=!/etc/dropbear/dropbear_host_ed25519_key |
6 |
|
|
7 |
[Service] |
[Service] |
8 |
Type=oneshot |
Type=oneshot |
9 |
ExecStart=/usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key |
ExecStart=/usr/bin/dropbearkey -t ed25519 -f /etc/dropbear/dropbear_host_ed25519_key |
10 |
RemainAfterExit=yes |
RemainAfterExit=yes |