ssh node image configuration

This commit is contained in:
miampf 2024-12-10 12:37:39 +01:00
parent 582eda218e
commit 203d24ca3f
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C
6 changed files with 5 additions and 5 deletions

View File

@ -41,7 +41,6 @@ Packages=containerd
# Network
Packages=iproute
dbus
openssh
openssh-server
systemd-networkd
systemd-resolved

View File

@ -10,3 +10,4 @@ enable measurements.service
enable export_constellation_debug.service
enable systemd-timesyncd
enable udev-trigger.service
enable create-host-ssh-key.service

View File

@ -1,10 +1,10 @@
[Unit]
Description=Create a host SSH key
Before=network-pre.target
Before=sshd.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c "ssh-keygen -t ecdsa -q -N '' -f /run/ssh_host_ecdsa_key"
[Install]
WantedBy=network-pre.target
WantedBy=multi-user.target

View File

@ -19,7 +19,6 @@ mokutil
nano
nano-default-editor
nvme-cli
openssh
openssh-server
passt-selinux
passwd

View File

@ -1 +0,0 @@
UserKnownHostsFile /run/known_hosts

View File

@ -1 +1,3 @@
HostKey /run/ssh_host_ecdsa_key
TrustedUserCAKeys /run/ssh_ca.pub
PasswordAuthentication no