about summary refs log tree commit diff
path: root/etc/hello-container-key
AgeCommit message (Collapse)Author
2026-09-27services: pin the SSH host key of the containersPjotr
Each container build generated fresh host keys (ssh-keygen -A at activation), so clients saw a REMOTE HOST IDENTIFICATION HAS CHANGED warning after every rebuild. Install the pre-generated ECDSA host key from etc/ssh-container-key into /etc/ssh at activation and set (generate-host-keys? #f) so every container presents the same host key. All keys now live in etc/ -- move the hello-container client key there as well and reference ../etc/ from the OS definitions. Verified: a rebuilt container serves SHA256:udYFFCT57uEdY1wDQgs8mvrB Vl2BLrq227eMSons2Mo and ssh login works with hello printing 'Hello, world!'.