QR
기준일: 2026-07-26
공식 기준: QR
QR 문서는 OpenClaw 공식 문서(cli/qr)를 한국어로 정리한 가이드입니다. CLI reference for openclaw qr (generate mobile pairing QR + setup code) 명령·설정 키·코드 예시는 공식 문서를 그대로 보존하며, 해석과 절차 안내는 한국어로 제공합니다. 최종 동작은 설치된 CLI 버전과 공식 원문을 확인하세요.
핵심 요약
CLI reference for openclaw qr (generate mobile pairing QR + setup code)
한국어 가이드 범위: cli/qr 경로의 설정·명령·제약·예시를 학습용으로 재구성합니다.
문서 구성
공식 문서의 주요 섹션은 다음과 같습니다.
- 옵션
- Setup code contents
- Gateway URL resolution
- Auth resolution (no --remote)
- Auth resolution (--remote)
- 관련 문서
상세 내용
openclaw qr
Generate a mobile pairing QR and setup code from your current Gateway configuration.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
openclaw qr
openclaw qr --setup-code-only
openclaw qr --json
openclaw qr --remote
openclaw qr --limited
openclaw qr --url wss://gateway.example/ws
openclaw devices list
openclaw devices approve <requestId>
옵션
--token and --password are mutually exclusive.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
--remote: prefergateway.remote.url; falls back togateway.tailscale.mode=serve|funnelif that URL is unset. Ignoresdevice-pairpluginpublicUrl.--url <url>: override the gateway URL used in the payload--public-url <url>: override the public URL used in the payload--token <token>: override the gateway token the bootstrap flow authenticates against--password <password>: override the gateway password the bootstrap flow authenticates against--limited: omit administrative Gateway access from the handed-off operator token--setup-code-only: print only the setup code--no-ascii: skip ASCII QR rendering--json: emit JSON (setupCode,gatewayUrl, optionalgatewayUrls,auth,access, optionalaccessDowngraded,urlSource)
Setup code contents
The setup code carries an opaque, short-lived bootstrapToken, not the shared gateway token/password. For a wss:// endpoint (or same-host loopback), the default bootstrap flow issues:
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- a primary
nodetoken withscopes: [] - a full native-mobile
operatorhandoff token withoperator.admin,operator.approvals,operator.read,operator.talk.secrets, andoperator.write
Gateway URL resolution
Mobile pairing fails closed for Tailscale/public ws:// gateway URLs: use Tailscale Serve/Funnel or a wss:// gateway URL for those. Private LAN addresses and .local Bonjour hosts remain supported over plain ws://, with limited operator access as described above.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
Auth resolution (no --remote)
When no CLI auth override is passed, local gateway auth SecretRefs resolve as follows:
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
| Condition | Resolves |
|---|---|
gateway.auth.mode="token", or inferred mode with no winning password source |
gateway.auth.token |
gateway.auth.mode="password", or inferred mode with no winning token from auth/env |
gateway.auth.password |
Both gateway.auth.token and gateway.auth.password are configured (including SecretRefs) and gateway.auth.mode is unset |
fails; set gateway.auth.mode explicitly |
Auth resolution (--remote)
If effectively active remote credentials are configured as SecretRefs and neither --token nor --password is passed, the command resolves them from the active gateway snapshot. If the gateway is unavailable, the command fails fast.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
관련 문서
주요 항목:
- CLI reference
- Devices
- Pairing
실습 체크리스트
- 공식 문서와 로컬 버전을 대조합니다:
https://docs.openclaw.ai/cli/qr - 관련 CLI는
openclaw --help및 하위 명령--help로 옵션을 확인합니다. - 설정 변경 시
openclaw config/openclaw doctor로 유효성을 검사합니다. - Gateway·채널·플러그인 변경 후에는 필요 시 Gateway를 재시작합니다.
자주 쓰는 명령·설정 예시
openclaw qr
openclaw qr --setup-code-only
openclaw qr --json
openclaw qr --remote
openclaw qr --limited
openclaw qr --url wss://gateway.example/ws
openclaw devices list
openclaw devices approve <requestId>
관련 링크
- 공식 원문: cli/qr
- OpenClaw 문서 홈
이 가이드는 공식 문서를 한국어 학습용으로 재구성한 것입니다. 옵션 기본값·플래그 이름은 설치 버전에 따라 달라질 수 있습니다.