aboutsummaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-20 15:55:20 +0000
committertv <tv@krebsco.de>2026-11-20 15:55:20 +0000
commita556852dd550fc0676708b89f9f0fcd6ff015250 (patch)
tree2b5391a2ebeedf8985a871a95b62c2397ea80d1e /base
parent4f5ef7b716c6bf01380e44c6f270f7c02aa5b479 (diff)
run-firecracker-vm: sshd, with a host key from the host
The guests run sshd, started on demand, with an ed25519 host key that isn't in the store: the run script takes it from --ssh-host-key FILE, by default ~/.local/share/run-firecracker-vm/ssh_host_ed25519_key, created on first use, so a user's guests share one key and one known_hosts line covers them (see README.md), and serves a copy from its private temporary directory via 9P on vsock port 567. In the guest, fc-ssh-host-key copies it to /run/ssh (0600) before sshd starts, and unmounts the share again. Who may log in is up to a layer (users.users.<name>.openssh.authorizedKeys).
Diffstat (limited to 'base')
0 files changed, 0 insertions, 0 deletions