Skip to content

feat: Re-implement SSH tunnel + browser auto-open for OpenClaw web dashboard #2449

@louisgv

Description

@louisgv

Context

PR #2418 implemented SSH tunnel + browser auto-open for OpenClaw web dashboard but has merge conflicts with main.

Original Work

  • SSH tunnel implementation in shared/ssh.ts (startSshTunnel)
  • Browser auto-open integration in shared/orchestrate.ts
  • Dashboard token generation for OpenClaw
  • USER.md bootstrap file to guide users to web dashboard
  • Test sandbox isolation improvements

Security Review

✅ Passed security review (approved at e81892f)

  • No command injection vulnerabilities
  • Proper token generation (crypto.randomUUID)
  • Path traversal protection maintained
  • SSH tunnel uses safe parameter handling

What Needs to Be Done

  1. Rebase the feature branch onto current main
  2. Resolve merge conflicts (likely in orchestrate.ts, agent-setup.ts)
  3. Re-run tests to ensure compatibility
  4. Re-open PR with clean merge

Original PR

#2418 (closed due to merge conflicts)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressIssue is being actively worked onsafe-to-workSecurity triage: safe for automated processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions