mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-01 18:15:08 -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]
|
||||
Description=Create a host SSH key
|
||||
Before=sshd.service
|
||||
Before=network-pre.target
|
||||
|
||||
[Service]
|
||||
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]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=network-pre.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user