Add SSH server port for managed tunnels#701
Conversation
Allow managed SSH tunnel configurations to specify the SSH daemon port separately from the remote gateway port. Persist the setting across gateway records and legacy settings, expose it in connection UIs, and include it in tunnel restart identity and command generation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Codex review: needs real behavior proof before merge. Reviewed June 5, 2026, 5:14 PM ET / 21:14 UTC. Summary Reproducibility: unclear. The review failed before ClawSweeper could establish a reproduction path. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Review detailsBest possible solution: Retry the Codex review after fixing the execution failure. Do we have a high-confidence way to reproduce the issue? Unclear. The review failed before ClawSweeper could establish a reproduction path. Is this the best way to solve the issue? Unclear. Retry the review first so ClawSweeper can evaluate the actual issue and fix direction. AGENTS.md: unclear because the file could not be read completely. Codex review notes: model gpt-5.5, reasoning high; reviewed against 077d44cc6cd2. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged after first-pass triage. Follow-up found during adversarial review: |

Summary
sshPort, default22) for managed SSH tunnels instead of overloading the forwarded gateway remote port.Fixes #697
Validation
dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore --filter "FullyQualifiedName~SshTunnelCommandLineTests"dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restoredotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restore.\build.ps1git diff --checkManual proof
127.0.0.1:2222.ssh -p 2222 -l OpenClawSshRepro 127.0.0.1 hostnamesucceeds while port22fails.master, the Add Gateway SSH UI has no SSH port field, so it cannot express2222.SSH port = 2222; tray logs show the tunnel starts viaOpenClawSshRepro@127.0.0.1:2222.Review