語言
October 10, 2026閱讀約 6 分鐘

Claude Code 遠端控制無法使用?所有錯誤與修復方法(2026)

Claude Code Remote Control 通常會因為三個原因失敗。你登入的方式不對、某個設定讓 Claude 連到 Anthropic 以外的地方,或是 Mac 上的工作階段已經停止。

請找到你看到的訊息,下面每一則都附有根據 Anthropic 官方文件整理的簡短修正方式。

錯誤或現象原因修正方式
"Remote Control requires a claude.ai subscription"未使用 claude.ai 帳號登入claude auth login
"Remote Control requires claude.ai subscription auth"已設定 API 金鑰或權杖移除該變數
"Remote Control requires a full-scope login token"權杖來自 claude setup-tokenclaude auth login
"Remote Control isn't enabled for this account"舊的方案資訊仍在快取中登出後再登入
"Couldn't verify Remote Control eligibility"離線或被 Proxy 擋住重試,然後執行 claude doctor
"Remote Control is only available when using Claude via api.anthropic.com"Bedrock、Google Cloud、Foundry 或 ANTHROPIC_BASE_URL取消設定該變數
"Remote Control is disabled by your organization's policy"Team 或 Enterprise 的開關沒有開啟檢查 /status,詢問擁有者(Owner)
"could not reach the Remote Control server for about 30 minutes"長時間失去連線執行 /remote-control
App 中找不到工作階段從未啟動 Remote Control執行 /rc
工作階段離線claude 程序已停止claude remote-control --continue
桌面版 App 的工作階段從未出現在手機上已知錯誤,issue #92306在終端機中啟動
分支工作階段遺失已知錯誤,issue #94396在該工作階段中執行 /remote-control
/remote-control 沒有任何輸出已在 issue #96591 中回報改用 claude remote-control
數小時沒有訊息後工作階段消失已在 issue #98879 中回報傳送訊息或執行 /remote-control
「Couldn't reconnect to your Remote Control session」應用程式結束、重新開啟或更新重試,然後啟動新的工作階段

“Remote Control requires a claude.ai subscription”

當 Claude Code 沒有使用 claude.ai 帳號登入時,就會看到這個訊息。執行 claude remote-control 時會顯示「You must be logged in to use Remote Control.」

Remote Control 適用於 Pro、Max、Team 和 Enterprise 方案,API 金鑰無法使用。請使用你的 claude.ai 帳號登入:

claude auth login

“Remote Control requires claude.ai subscription auth”

你已經登入,但 API 金鑰或權杖的優先順序較高。訊息會指出是哪一個,例如「ANTHROPIC_API_KEY is set, so this session is using API-key auth」。

請從你的 shell 設定檔以及 Claude 設定檔的 env 區塊中移除該變數,然後重新啟動 Claude:

unset ANTHROPIC_API_KEY ANTHROPIC_AUTH_TOKEN claude --remote-control

如果訊息提到 apiKeyHelper,請移除該設定。

“Remote Control requires a full-scope login token”

你使用的是 claude setup-token 或 CLAUDE_CODE_OAUTH_TOKEN 產生的長效權杖登入。這類權杖只能傳送模型請求。請改用一般方式登入:

claude auth login

“Remote Control isn't enabled for this account”

Claude Code 檢查了你的帳號,但結果顯示未啟用。這通常發生在變更方案之後,因為舊的帳號資訊仍在快取中。較舊的版本會顯示「Remote Control is not yet enabled for your account」。

請登出、重新登入,並更新 Claude Code。claude doctor 會顯示是哪一項檢查失敗:

claude auth logout claude auth login claude doctor

“Couldn't verify Remote Control eligibility”

Claude Code 無法連到檢查帳號的服務。可能是你目前離線,或是 Proxy 擋住了請求。請在正常的網路環境下重試,或執行 claude doctor 查看詳細資訊。

“Remote Control is only available when using Claude via api.anthropic.com”

這是很常見的情況。Remote Control 需要 Claude Code 直接與 Anthropic 的 API 通訊。在 Amazon Bedrock、Google Cloud 和 Microsoft Foundry 上會失敗。當 ANTHROPIC_BASE_URL 指向 Proxy 或 LLM 閘道時,即使你是用 claude.ai 登入,也會失敗。

訊息會指出原因,例如 CLAUDE_CODE_USE_BEDROCK 或自訂的 ANTHROPIC_BASE_URL。請取消設定該變數,從設定檔的 env 區塊中移除,然後重新啟動工作階段:

env | grep -i -e ANTHROPIC -e CLAUDE_CODE_USE unset ANTHROPIC_BASE_URL claude --remote-control

“Remote Control is disabled by your organization's policy”

Team 和 Enterprise 方案預設不會開啟 Remote Control。擁有者需要在 Claude Code 的管理員設定中開啟。如果你付費使用的是 Pro 或 Max,Claude Code 可能仍登入在舊的 Team 組織中。

執行 /status 檢查你的方案和組織。如果顯示的不對,請執行 claude auth logout,再執行 claude auth login。如果訊息提到 disableRemoteControl,表示你的 IT 團隊已在這台裝置上關閉此功能。

“could not reach the Remote Control server for about 30 minutes”

你的工作階段已長時間與 Anthropic 的伺服器失去連線。請在工作階段中執行以下指令重新連線:

/remote-control

工作階段沒有出現在 Claude App 中

Remote Control 只會在你要求時才啟動。請在工作階段中執行 /rc,或使用 claude --remote-control 啟動 Claude。在 Claude App 中點選 Code 即可看到你的工作階段。兩台裝置都需要使用同一個帳號。

若要讓每個工作階段各自連線,請執行 /config,並開啟 Enable Remote Control for all sessions。在 Claude 桌面版 App 中,前往 Settings > Claude Code > Connect new sessions to Remote Control。

工作階段離線了

Remote Control 在你 Mac 上的 claude 程序中運行。關閉終端機或結束 App,工作階段就會離線。

如果你使用的是伺服器模式,請在大約四小時內將它恢復:

claude remote-control --continue

對於使用 --remote-control 或 /rc 啟動的工作階段,請執行 claude --continue,然後執行 /rc。長時間的工作請在 tmux 中執行,這樣關閉視窗才不會中斷它們。

Mac 進入睡眠後就停止了

Mac 睡眠時,工作會暫停。Mac 喚醒後,Claude Code 會自動重新連線。

若要在任務執行期間保持 Mac 清醒,請透過 caffeinate 啟動 Claude:

caffeinate -i claude --remote-control

大多數 MacBook 闔上螢幕時仍會進入睡眠,除非已接上外接顯示器和電源。

工作階段沒有出現在手機上,或是消失了

這些是在 GitHub 上回報的已知錯誤。截至 2026 年 10 月,大部分仍未修復。以下說明每種情況的現象,以及你現在可以怎麼做。

Claude 桌面版 App 的工作階段從未出現

在 macOS 上,即使已開啟自動連線,桌面版 App 中互動式的 Code 工作階段仍可能無法使用 Remote Control。同一個 App 的排程任務仍會顯示在手機上。這個問題已在 issue #92306 中回報,目前仍未解決。

目前還沒有官方修正。回報中提到,另外安裝的 CLI 不受影響。在終端機中使用 claude --remote-control 啟動工作階段,可能可以避開這個問題。

分支出來的工作階段一直沒有出現

從其他工作階段分支出來的工作階段,不會被標記為使用 Remote Control。它會一直缺席於手機上的 Code 分頁。請參閱 issue #94396,目前仍未解決。

回報者提供的解法是:在該工作階段中使用 /remote-control 手動開啟。請先傳送一則訊息。如果沒有,會看到「Remote Control requires an active session. Send a message first.」

/remote-control 沒有輸出,工作階段也從未出現

有些人執行 /remote-control 後,既沒有連結也沒有確認訊息。再次執行時會顯示「Remote Control disconnected.」。這個問題已在 issue #96591 中回報,並被以「不予處理」的方式關閉。

執行 claude doctor 檢查登入狀態和網路。然後改用 claude remote-control 試試伺服器模式。它會顯示工作階段網址和 QR Code,讓你可以直接開啟該工作階段。

數小時沒有訊息後工作階段消失

有一則 Android 上的回報指出,工作階段在大約 8 小時沒有訊息後,從 Code 清單中消失。當時電腦仍然清醒。之後再次使用桌面版 App 時,工作階段才又出現。請參閱 issue #98879,目前仍未解決。

目前還沒有修正方式。你可以從 Mac 傳送一則訊息讓它回來,或是使用 /remote-control 重新連線。

「Couldn't reconnect to your Remote Control session」

當桌面版 App 結束、自行重新開啟或更新時,它的工作階段會停止,Remote Control 也不會自動恢復。再次開啟時可能會失敗,並顯示「Couldn't reconnect to your Remote Control session. Retry, or start a fresh session without --resume.」。請參閱 issue #98504,目前仍未解決。

照著訊息的指示做。先重試一次,再啟動新的工作階段。已停止的工作階段必須先在你的 Mac 上完成一輪對話,才能再次開啟 Remote Control。

該討論串中社群提供的一個替代做法:在 tmux 中執行 claude,不要在桌面版 App 內執行。這樣 App 重新啟動時,工作階段就不會被中斷。

需要的不只是 Claude 工作階段時

Remote Control 很適合用來聊 Claude Code。但有時你還需要 Mac 的其他部分。Macky 會把你 Mac 本身的終端機和螢幕放到 iPhone 上。

  • 支援 API 金鑰、Bedrock 或 Proxy。這是你自己的 shell,所以你的環境設定維持不變。
  • 提供專用的 Claude Code 和 Codex 模式,也有一般終端機,可用來執行 git、Docker 或其他任何指令。
  • 按鍵列提供 Esc、Tab 和 Ctrl。用 y 和 Enter 確認步驟。
  • SSH 金鑰留在你的 Mac 上。輸入 ssh my-vps 就能連上。
  • 使用 Pro 方案時,可以闔上 MacBook 螢幕,讓工作階段在背景保持連線。

在你的 Mac 和 iPhone 上安裝 Macky,兩邊都登入後連線即可。免費版每次工作階段可使用 5 分鐘。Pro 為一次買斷 $29。在 App Store 取得。

第一次接觸 Remote Control?請閱讀 Claude Code Remote Control 設定指南。想比較兩者,請參閱 Macky 與 Claude Code Remote Control 比較。

常見問題

Claude Code Remote Control 為什麼不能用?

通常是登入方式有問題、API 金鑰或 ANTHROPIC_BASE_URL 設定有誤,或是 Mac 上的 claude 程序已停止。錯誤訊息會告訴你是哪一種。

如何修正「Remote Control is only available when using Claude via api.anthropic.com」?

取消設定 ANTHROPIC_BASE_URL,或訊息中提到的 Bedrock、Google Cloud 或 Foundry 變數。然後使用 claude.ai 帳號登入,並重新啟動 Claude Code。

Claude Code Remote Control 可以搭配 API 金鑰使用嗎?

不行。它需要使用 claude.ai 登入,並且要有 Pro、Max、Team 或 Enterprise 方案。

為什麼我的工作階段沒有出現在 Claude App 中?

除非你在 /config 中開啟自動連線,否則 Remote Control 只會在你執行 /rc 或 claude --remote-control 時才啟動。兩台裝置必須使用同一個帳號。

如果我的 Mac 進入睡眠會怎樣?

工作階段會暫停。Mac 喚醒後,Claude Code 會自動重新連線。

不使用 Remote Control,也能用手機控制 Claude Code 嗎?

可以。Macky 會把你 Mac 本身的終端機放到 iPhone 上,所以 Claude Code 可以搭配任何登入方式使用,包括 API 金鑰。

為什麼我的 Claude Code 工作階段沒有出現在行動版 App 的 Code 分頁中?

請先確認已使用 /rc 或 claude --remote-control 開啟 Remote Control。如果已經開啟,你可能遇到了已知錯誤。從 Claude 桌面版 App 啟動的工作階段,以及分支出來的工作階段,都可能一直缺席。在終端機中啟動工作階段,或在傳送訊息後手動執行 /remote-control,可以避開大部分情況。

「Couldn't reconnect to your Remote Control session」是什麼意思?

當 Remote Control 無法接回已停止的工作階段時會出現,通常發生在桌面版 App 結束、重新開啟或更新之後。先重試一次。如果仍然失敗,請啟動新的工作階段。已停止的工作階段必須先在你的 Mac 上完成一輪對話,才能再次開啟 Remote Control。

試用 Macky

用你的 iPhone 連接到 Mac 的終端機。