Answer: Finish signing in through the separate login URL that the terminal shows above its paste prompt: copy the URL, open it in a browser on your local machine, sign in, and paste the code shown into the terminal at the prompt that begins `Paste code here`. If pasting does nothing, use `claude auth login` instead, and on WSL2 you can set the `BROWSER` environment variable to your Windows browser's path. Status: Check failed Entry: tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers Revision: 2 Digest: sha256:0aef340910703f95 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:06:02Z Last changed: 2026-11-18T12:20:53Z Last verified: 2026-11-19T12:21:07Z Last attempt: 2026-11-20T12:26:01Z (failed) Next check: 2026-11-20T13:26:01Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of login URL step | c | [1] | 2026-11-19 paste prompt | Paste code here | [1] | 2026-11-19 alternate command | claude auth login | [1] | 2026-11-19 alternate paste shortcuts | right-click or Shift+Insert | [1] | 2026-11-19 WSL2 BROWSER variable | BROWSER | [1] | 2026-11-19 WSL2 BROWSER example path | /mnt/c/Program Files/Google/Chrome/Application/chrome.exe | [1] | 2026-11-19 Sources: [1] Anthropic. "Troubleshoot installation and login". https://code.claude.com/docs/en/troubleshoot-install.md Role: primary. Accessed: 2026-11-19T12:21:07Z Quote: "At the interactive login prompt, press `c` to copy the URL, or select it in the terminal." (Supports: login URL step) Quote: "Paste that code into the terminal at the prompt that begins `Paste code here`." (Supports: paste prompt) Quote: "or use `claude auth login` instead, which reads the pasted code from standard input" (Supports: alternate command) Quote: "often right-click or Shift+Insert in Windows Terminal" (Supports: alternate paste shortcuts) Quote: "setting the `BROWSER` environment variable to that browser's path" (Supports: WSL2 BROWSER variable) Quote: "export BROWSER="/mnt/c/Program Files/Google/Chrome/Application/chrome.exe"" (Supports: WSL2 BROWSER example path) Published: 2026-11-19T04:02:33Z Snapshot SHA-256: 406ad18e91408155775c2ccb106383c056cdc84772ea2fa01522cb666b7280ab (captured 2026-11-17T12:32:05Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:32:06Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T12:21:07Z. No independent second source is configured for this entry Last successful check: 2026-11-19T12:21:07Z Last attempt: 2026-11-20T12:26:01Z (failed) Notes and limitations: Extracted automatically from a single official source (section "OAuth login fails in WSL2, SSH, or containers"). Related: https://latestn.com/tool/claude-code/troubleshooting/plugin-disabled-user-settings-still-loads Why does a Claude Code plugin that I disabled in user settings still load? https://latestn.com/tool/claude-code/troubleshooting/plugin-update-changed-nothing Why didn't my Claude Code plugin update change anything? https://latestn.com/tool/claude-code/troubleshooting/process-exit-code-n How do I troubleshoot a Claude Code process that exits with code N in the Agent SDK? https://latestn.com/tool/claude-code/troubleshooting/missing-inline-comments Where can I find Claude Code review findings that aren't showing as inline comments? https://latestn.com/tool/claude-code/troubleshooting/mod-does-nothing How do I find out why a Claude Code mod does nothing? https://latestn.com/tool/claude-code/troubleshooting/no-repositories-after-github Why do no repositories appear after I connect GitHub to Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:26:01Z | check-failed | Extraction did not pass verification: answer contains ` to copy the URL (or copy it from `, which does not appear in the source | — 2026-11-18T12:20:53Z | changed | WSL2 BROWSER example path: — → /mnt/c/Program Files/Google/Chrome/Application/chrome.exe | [1] 2026-11-18T12:20:53Z | changed | alternate paste shortcuts: — → right-click or Shift+Insert | [1] 2026-11-18T12:20:53Z | changed | alternate command: — → claude auth login | [1] 2026-11-18T12:20:53Z | changed | WSL2 BROWSER example: /mnt/c/Program Files/Google/Chrome/Application/chrome.exe → — | [1] 2026-11-18T12:20:53Z | changed | fallback command: claude auth login → — | [1] 2026-11-18T12:20:53Z | changed | login URL step: Copy the login URL → c | [1] 2026-11-17T12:32:06Z | recovered | Check succeeded again | — 2026-11-14T12:21:42Z | check-failed | Extraction did not pass verification: answer contains ` to copy the URL (or copy it from `, which does not appear in the source | — 2026-11-13T03:06:02Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix OAuth login failures in WSL2, SSH, or containers for Claude Code? Revision 2, last verified 2026-11-19T12:21:07Z. https://latestn.com/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers (accessed 2026-11-21T10:02:05Z). @misc{LatestN_tool_claude_code_troubleshooting_oauth_login_wsl_ssh_containers_r2, title = {How do I fix OAuth login failures in WSL2, SSH, or containers for Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers}}, note = {Revision 2; digest sha256:0aef340910703f95; last verified 2026-11-19T12:21:07Z; accessed 2026-11-21T10:02:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/oauth-login-wsl-ssh-containers