mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 11:05:31 -05:00
ssh node image configuration
This commit is contained in:
parent
c25d0c34dd
commit
a37ecfa9b7
@ -41,7 +41,6 @@ Packages=containerd
|
|||||||
# Network
|
# Network
|
||||||
Packages=iproute
|
Packages=iproute
|
||||||
dbus
|
dbus
|
||||||
openssh
|
|
||||||
openssh-server
|
openssh-server
|
||||||
systemd-networkd
|
systemd-networkd
|
||||||
systemd-resolved
|
systemd-resolved
|
||||||
|
@ -10,3 +10,4 @@ enable measurements.service
|
|||||||
enable export_constellation_debug.service
|
enable export_constellation_debug.service
|
||||||
enable systemd-timesyncd
|
enable systemd-timesyncd
|
||||||
enable udev-trigger.service
|
enable udev-trigger.service
|
||||||
|
enable create-host-ssh-key.service
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Create a host SSH key
|
Description=Create a host SSH key
|
||||||
Before=network-pre.target
|
Before=sshd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/bash -c "ssh-keygen -t ecdsa -q -N '' -f /run/ssh_host_ecdsa_key"
|
ExecStart=/bin/bash -c "ssh-keygen -t ecdsa -q -N '' -f /run/ssh_host_ecdsa_key"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=network-pre.target
|
WantedBy=multi-user.target
|
||||||
|
@ -19,7 +19,6 @@ mokutil
|
|||||||
nano
|
nano
|
||||||
nano-default-editor
|
nano-default-editor
|
||||||
nvme-cli
|
nvme-cli
|
||||||
openssh
|
|
||||||
openssh-server
|
openssh-server
|
||||||
passt-selinux
|
passt-selinux
|
||||||
passwd
|
passwd
|
||||||
|
@ -1 +0,0 @@
|
|||||||
UserKnownHostsFile /run/known_hosts
|
|
@ -1 +1,3 @@
|
|||||||
HostKey /run/ssh_host_ecdsa_key
|
HostKey /run/ssh_host_ecdsa_key
|
||||||
|
TrustedUserCAKeys /run/ssh_ca.pub
|
||||||
|
PasswordAuthentication no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user