Skip to content

ssh: connect native guest SSH through fenced node channels - #958

Draft
zibi-pplx wants to merge 1 commit into
pr957from
pr958
Draft

zibi-pplx wants to merge 1 commit into
pr957from
pr958

Conversation

@zibi-pplx

@zibi-pplx zibi-pplx commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Let space-ssh reach Windows OpenSSH through the operator-only, execution-fenced node channel. Use the caller's SSH credentials and verified per-sandbox host key, default Windows logins to Administrator, and add user/identity overrides. Skip Linux environment injection for non-Linux guests while retaining the existing Linux path.

Validation

All four CLI tests passed, including credential ownership, host-key checking, fenced proxy selection and identity paths with spaces. Linux-target Clippy passed. Verified both interactive Windows PowerShell and a remote hostname command through space-ssh, and a Linux uname command on an existing sandbox.

Severity and risk

Severity does not apply to this operator feature. Guest OpenSSH and authorized keys must already be provisioned; this does not add a Windows SPACE guest agent. Native guest access requires the preceding node channel and preserves strict host-key verification.

Stack

Windows guests. #954 is a separate reader-guard deployment before #955–#959 enable opaque images. Keep that guard as the rollback floor. #955 supplies the SQLite schema before its readers/writers; deploy the matching supervisor before node/build/template/sandbox managers. Firmware guests remain opt-in, standalone and locally imported; export, pull and cross-node distribution stay refused.

AI assistance: Codex implemented the CLI, tests and this description.


Stack created with Sapling. Best reviewed with ReviewStack.
Base: #924, the separate Cloud Hypervisor installation stack.

@zibi-pplx
zibi-pplx changed the base branch from main to pr957 October 26, 2026 00:06
@zibi-pplx
zibi-pplx added this pull request to stack #951 October 26, 2026 00:06
@zibi-pplx
zibi-pplx force-pushed the pr958 branch 2 times, most recently from 114abba to a05ad68 Compare October 26, 2026 00:15
@zibi-pplx
zibi-pplx removed this pull request from stack #951 October 26, 2026 03:02
@zibi-pplx
zibi-pplx added this pull request to stack #963 October 26, 2026 03:04
## Summary

Let space-ssh reach Windows OpenSSH through the operator-only, execution-fenced node channel. Use the caller's SSH credentials and verified per-sandbox host key, default Windows logins to Administrator, and add user/identity overrides. Skip Linux environment injection for non-Linux guests while retaining the existing Linux path.

## Validation

All four CLI tests passed, including credential ownership, host-key checking, fenced proxy selection and identity paths with spaces. Linux-target Clippy passed. Verified both interactive Windows PowerShell and a remote hostname command through space-ssh, and a Linux uname command on an existing sandbox.

## Severity and risk

Severity does not apply to this operator feature. Guest OpenSSH and authorized keys must already be provisioned; this does not add a Windows SPACE guest agent. Native guest access requires the preceding node channel and preserves strict host-key verification.

## Stack

Windows guests. #954 is a separate reader-guard deployment before #955–#959 enable opaque images. Keep that guard as the rollback floor. #955 supplies the SQLite schema before its readers/writers; deploy the matching supervisor before node/build/template/sandbox managers. Firmware guests remain opt-in, standalone and locally imported; export, pull and cross-node distribution stay refused.

AI assistance: Codex implemented the CLI, tests and this description.

This branch has not been deployed

No deployments
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.

1 participant