Skip to content

fix(ssh): connect to guests through proxyjump - #114

Open
Windsor Nguyễn (windsornguyen) wants to merge 1 commit into
mainfrom
fix/ssh-proxyjump
Open

Windsor Nguyễn (windsornguyen) wants to merge 1 commit into
mainfrom
fix/ssh-proxyjump

Conversation

@windsornguyen

Copy link
Copy Markdown
Member

dedalus ssh now connects to the guest through the gateway with OpenSSH ProxyJump. It writes a private configuration with separate certificates and host trust for the guest and gateway, and rejects responses without the jump-host contract.

The consumer test builds the CLI, serves an API response, and checks both hops with the actual OpenSSH configuration parser. It also checks credential permissions, temporary paths containing spaces, and rejection of a missing jump host. The README shows the shell command and its OpenSSH requirement.

Verification

  • GOMAXPROCS=2 GOFLAGS=-p=2 ./scripts/test -count=1 passes with Steady 0.22.1 serving the repository's pinned public OpenAPI fixture. This includes the full native test suite and Windows test compilation.
  • GOMAXPROCS=2 GOFLAGS=-p=2 go test -race -count=1 -run '^TestSSHConsumerUsesTwoHopContract$' ./pkg/cmd passes.
  • GOMAXPROCS=2 GOFLAGS=-p=2 ./scripts/lint passes.
  • The same SSH implementation was built for Linux arm64 and reached a real guest through the gateway, printed the expected sentinel, and exited successfully.

Release requirement

The API must return the guest connection with its raw host key and a jump_host containing the gateway certificate and host CA trust before this CLI is released. The pinned Go SDK preserves that response in RawJSON, so this change does not require an SDK version update. Windows compilation is checked; the native OpenSSH runtime check was performed on Linux.

Signed-off-by: windsornguyen <win@dedaluslabs.ai>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T21:51:08.665402Z 1e47a95 PR opened
🔒 Security Review ✅ Completed 2026-10-23T21:53:37.065148Z 1e47a95 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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