Skip to content

docs: verify TLS certificates in SSH tunnel commands - #6

Merged
kvinwang merged 1 commit into
Dstack-TEE:mainfrom
phala-agent:fix/verify-ssh-tunnel-tls
Sep 15, 2026
Merged

kvinwang merged 1 commit into
Dstack-TEE:mainfrom
phala-agent:fix/verify-ssh-tunnel-tls

Conversation

@phala-agent

Copy link
Copy Markdown
Contributor

Summary

  • Add fail-closed certificate verification to both documented SSH tunnel commands.
  • Use the complete app-port gateway hostname for SNI and hostname verification, preserving gateway routing.

Verification

  • git diff --check
  • bash -n build.sh scripts/install-openssh.sh scripts/mount-overlay.sh
  • Both SSH config examples parsed with ssh -G; instantiated commands passed shell syntax checks.
  • Local OpenSSL 3.5.7 TLS checks against both commands: trusted matching certificate accepted; wrong hostname and untrusted certificate rejected before SSH banner delivery; full SNI confirmed in all six cases.

Temporary verification artifacts remain outside the repository. Production connections and LibreSSL were not exercised.

@kvinwang
kvinwang merged commit 51eccc3 into Dstack-TEE:main Sep 15, 2026
1 check 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.

2 participants