mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 02:24:56 -05:00
sshd
and create-host-ssh-key
service on node
This commit is contained in:
parent
acc5a84f3f
commit
c35d7f2157
@ -1,10 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Create a host SSH key
|
Description=Create a host SSH key
|
||||||
Before=sshd.service
|
Before=network-pre.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=ssh-keygen -t ecdsa -q -N "" /run/ssh_host_ecdsa_key
|
ExecStart=/bin/bash -c "ssh-keygen -t ecdsa -q -N '' -f /run/ssh_host_ecdsa_key"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=network-pre.target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user