diff options
| author | tv <tv@krebsco.de> | 2026-11-21 15:12:13 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-21 15:12:13 +0000 |
| commit | 4dd6ea85895430c1ef231c0f5ec1437bcb7ff0e9 (patch) | |
| tree | 425e571a379fee39c16f4b9b24d33270091b9afd /pkgs/run-firecracker-vm/kernel.nix | |
| parent | ab8c63531ca4a5d8eb185fcdafbe02122649416b (diff) | |
run-firecracker-vm: the SSH host key a secret, no --ssh-host-key
The SSH host key had a way of its own into the guest: --ssh-host-key
FILE (by default ~/.local/share/run-firecracker-vm/ssh_host_ed25519_key,
created if it didn't exist), served via 9P on vsock port 567, and
fc-ssh-host-key. Now it's a secret like any other: the base system
declares it (fc.secrets.ssh_host_ed25519_key, at
/run/ssh/ssh_host_ed25519_key, 0600, with sshd), so the run script
requires --secret ssh_host_ed25519_key=FILE, and checks it as before
(adding a missing final newline; no passphrase). There's no
--ssh-host-key any more, nor a default key, and the secrets take over
port 567.
Diffstat (limited to 'pkgs/run-firecracker-vm/kernel.nix')
0 files changed, 0 insertions, 0 deletions
