Skip to content

docs: update SSH documentation with phala ssh command#134

Merged
h4x3rotab merged 1 commit intomainfrom
docs/update-ssh-documentation
Jan 13, 2026
Merged

docs: update SSH documentation with phala ssh command#134
h4x3rotab merged 1 commit intomainfrom
docs/update-ssh-documentation

Conversation

@h4x3rotab
Copy link
Copy Markdown
Collaborator

@h4x3rotab h4x3rotab commented Jan 13, 2026

Summary

  • Rewrite SSH docs with phala ssh as primary method
  • Add CLI reference page for phala ssh command
  • Clarify SSH key injection timing (only at CVM creation)
  • Simplify debug page, remove ttyd workaround

Test plan

  • Verify all internal links work
  • Test phala ssh examples are accurate

🤖 Generated with Claude Code

- Rewrite enable-ssh-access.mdx with phala ssh as primary method
- Add CLI reference page for phala ssh command
- Clarify SSH key injection timing (only at CVM creation)
- Simplify debug-your-application.mdx
- Update troubleshooting with phala ssh -v debugging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@h4x3rotab h4x3rotab force-pushed the docs/update-ssh-documentation branch from 261c61f to 551ebcb Compare January 13, 2026 19:19
@h4x3rotab h4x3rotab merged commit b9199ae into main Jan 13, 2026
4 checks passed
Comment on lines 211 to 221

SSH only works with development OS images. Production images have SSH disabled.

### Check Configuration
### Debug with Verbose Mode

Use the Phala CLI with verbose output to diagnose connection issues:

```bash
# Verify environment variables are set
DSTACK_ROOT_PASSWORD=yourpassword
# OR
DSTACK_ROOT_PUBLIC_KEY=ssh-rsa AAAA...
phala ssh my-cvm -v
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The troubleshooting guide incorrectly uses ssh my-cvm instead of the required wrapper command phala ssh my-cvm, which will cause the connection to fail.
Severity: HIGH

Suggested Fix

In phala-cloud/networking/troubleshooting.mdx, change the command ssh my-cvm to phala ssh my-cvm to ensure it functions correctly and is consistent with the rest of the documentation.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: phala-cloud/networking/troubleshooting.mdx#L211-L221

Potential issue: In the "Connection Refused" section of the troubleshooting guide, the
"Quick Checks" subsection provides an incorrect SSH command: `ssh my-cvm`. This command
will fail because CVMs are only accessible through the Phala gateway tunnel, which
requires the `phala ssh` CLI wrapper. Users following these steps to diagnose connection
problems will be blocked, unable to access their CVM to perform further diagnostics.
This contradicts the documented standard `phala ssh` command used elsewhere in the
documentation.

Did we get this right? 👍 / 👎 to inform future reviews.

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