Skip to content

openclaw dashboard

使用当前认证信息打开 Control UI。

bash
openclaw dashboard
openclaw dashboard --no-open

dashboard 打不开怎么查

现象处理方式
服务器没有浏览器或 GUIopenclaw dashboard --no-open 只打印 URL
打开的 URL 访问失败先确认 Gateway 是否正在运行,并检查端口是否为 18789
远程服务器上能运行,本地打不开配置 SSH 隧道、Tailscale Serve,或改用 gateway.bind: "tailnet"
页面打开后认证失败确认当前 shell 能解析 Gateway token,SecretRef 场景下不要手动复制占位符

如果你只是想把服务器上的控制台拿到本地浏览器看,优先使用 远程 Gateway SSH 隧道Tailscale Serve,不要直接把 18789 端口暴露到公网。

注意事项

  • dashboard 会在可能时解析配置的 gateway.auth.token SecretRef。
  • 对于 SecretRef 管理的 token(无论是否已解析),dashboard 打印/复制/打开的是不含 token 的 URL,以避免外部 secret 暴露在终端输出、剪贴板历史或浏览器启动参数中。
  • 如果 gateway.auth.token 由 SecretRef 管理但在当前命令路径下无法解析,命令会打印不含 token 的 URL 以及明确的修复指引,而不是嵌入无效的 token 占位符。

小技巧:在服务器环境(无图形界面)下,用 openclaw dashboard --no-open 只打印 URL,再复制到本地浏览器访问你的龙虾控制台。