knowledge-vault/discussions/technology/OpenClaw/初始化工作/_本地访问.md

45 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ssh -N -L 18789:127.0.0.1:18789 root@82.156.219.55
```bash
openclaw models status
```
如果你想专门针对身份验证进行快速检查,使用 `openclaw models status`。这条命令会实时测试每个已配置提供商的凭证并报告其有效性。你会看到清晰的指示信息,如 "valid"、"invalid bearer token" 或 "no auth configured"。当输出显示某个提供商 "all in cooldown" 时你的凭证可能完全正常——OpenClaw 因为反复失败而临时屏蔽了对该提供商的请求,这是一种保护机制而不是凭证问题。
```bash
openclaw models test minimax-cn
```
测试模型
openclaw doctor --fix
openclaw gateway restart
openclaw dashboard --no-open
http://openclaw.wantsong.cn/#token=5eb77a151f15431db1cf9a8be66843edb0f5924e0534adf5
查看并批准配对请求
打开 Dashboard 后:
```bash
# 或者在终端查看配对请求
openclaw devices list
```
你会看到类似:
```
Pending Requests:
[req-xxx] Device: Chrome on Windows (2026-03-08 10:12)
```
批准它:
```bash
openclaw devices approve req-xxx
```
或者在 Dashboard 页面上直接点 **Approve** 按钮。