Skip to content

Fix Codespaces SSH access with a locked feature - #141

Merged
BrettKinny merged 1 commit into
mainfrom
agent/codespaces-sshd
Jul 31, 2026
Merged

Fix Codespaces SSH access with a locked feature#141
BrettKinny merged 1 commit into
mainfrom
agent/codespaces-sshd

Conversation

@BrettKinny

Copy link
Copy Markdown
Collaborator

Summary

  • add the official Dev Containers SSHD Feature only to the derived Dev Container/Codespaces image
  • pin Feature 1.1.0 to reviewed OCI digest sha256:f5251b8e4325f68f7280973c6cd65daff414449c66f240621502d4e8e74eb7ee
  • restrict remote-forwarded listeners to loopback and document the upstream SSH security behavior
  • add repository, Candidate E2E, CI JSON, release-note, and UAT coverage

Diagnosis

Real v1.2.1-rc1 Codespaces qualification reached Available, but gh codespace ssh and logs failed because the custom Squarebox image had no SSH server. The exact rc1 digest reproduced the missing sshd binary. GitHub recommends the official SSHD Feature for custom Debian-based Codespaces images.

Validation

  • regression assertions failed before the fix and now pass
  • all 17 executable repository test modules pass
  • Dev Containers CLI 0.87.0 build --frozen-lockfile passes
  • real derived-container up --frozen-lockfile passes
  • /usr/sbin/sshd -t passes, daemon PID is live, and GatewayPorts no is effective
  • disposable local container and Managed-home volume removed

v1.2.1-rc1 remains immutable failed Codespaces qualification evidence. After merge, this requires rc2 and a fresh real Codespaces rerun before any final stable tag.

@BrettKinny
BrettKinny marked this pull request as ready for review July 31, 2026 10:18
@BrettKinny
BrettKinny merged commit 9286567 into main Jul 31, 2026
3 checks passed
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