summarylogtreecommitdiffstats
path: root/tmate-ssh-server-genkeys-ed25519.service
blob: 910799c5e174643f5a38e9afd931c06e7eaf5eed (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=tmate ed25519 key generation
ConditionPathExists=|!/etc/tmate-ssh-server/ssh_host_ed25519_key
ConditionPathExists=|!/etc/tmate-ssh-server/ssh_host_ed25519_key.pub

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