Newer
Older
buildroot-MynaPlayer / board / myna-player-odyssey / rootfs_overlay / etc / systemd / system / sshdgenkeys.service
@Xogium Xogium on 5 Aug 2020 273 bytes Initial commit.
[Unit]
Description=SSH Key Generation
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key
ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub

[Service]
ExecStart=/usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -q -N ""
Type=oneshot
RemainAfterExit=yes