Skip to content

Show the VM's SSH host key fingerprint - #101

Merged
v0l merged 2 commits into
mainfrom
feat/vm-ssh-host-keys
Jul 30, 2026
Merged

Show the VM's SSH host key fingerprint#101
v0l merged 2 commits into
mainfrom
feat/vm-ssh-host-keys

Conversation

@v0l

@v0l v0l commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Closes #100.

host_ssh_keys (lnvps_api_common/src/model.rs:293, ApiVmStatus) landed in api#154 (LNVPS/api#324) — merged 2026-07-29, never wired up here. Right now a customer's terminal prompts "authenticity of host X can't be established" on first connect with nothing to check it against, which defeats host-key verification.

  • src/api.tsVmInstance.host_ssh_keys: Array<VmSshHostKey> (key_type/public_key/fingerprint_sha256), required per the contract (always an array, empty until the scan succeeds).
  • src/pages/vm.tsx — the fingerprint(s) render inside the existing "Access" card, right under the ssh user@host line, guarded on the array being non-empty so nothing shows before the scan completes. select-all like the SSH command above it, so it's copy-pasteable.

No design decision beyond that — one line under the command that's already there, same card, same styling as the rest of the page.

bun test 51 pass, tsc --noEmit clean, build clean at b8f34a0. Translated to all 10 locales; caught and fixed one bad character the pass introduced (a CJK full-width period landed in the Turkish string).

Not curl-verified like the SEO pages — /vm/:id is behind login, no crawlability concern, and there's no component-render harness in this repo to exercise it live. Verified by type-check + reading the diff against the existing "Access" card's pattern.

v0l added 2 commits July 30, 2026 21:55
Signed-off-by: v0l <kieran@harkin.me>
@v0l
v0l merged commit cb420f3 into main Jul 30, 2026
3 checks passed
@v0l
v0l deleted the feat/vm-ssh-host-keys branch July 30, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose the VM's SSH host key fingerprint

1 participant