claude-code - 💡(How to fix) Fix [BUG] OAuth input prompt fails to accept pasted text in SSH session (Ubuntu 24.04) [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47839Fetched 2026-04-15 06:40:53
View on GitHub
Comments
2
Participants
3
Timeline
9
Reactions
1
Timeline (top)
labeled ×4commented ×2closed ×1marked_as_duplicate ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When authenticating via claude on a remote Ubuntu server, the OAuth code input prompt (Paste code here if prompted >) does not register any input when using terminal paste shortcuts.

Environment:

Claude Code Version: 2.1.107

OS: Ubuntu 24.04.4 LTS (Kernel 6.8.0)

Connection: SSH (standard bash shell)

Terminal : Default

Steps to Reproduce:

What Should Happen?

Authentication Code should just paste

Error Messages/Logs

Steps to Reproduce

Run claude in an SSH session.

Select "1. Claude account with subscription".

Copy the OAuth code from the browser.

Attempt to paste it into the CLI prompt using Ctrl+Shift+V or Right-Click.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.107

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The issue can likely be resolved by using a different method to paste the OAuth code into the CLI prompt.

Guidance

  • Try pasting the OAuth code using the Ctrl+V shortcut or the middle mouse button instead of Ctrl+Shift+V or Right-Click.
  • Verify that the terminal is configured to allow paste operations.
  • Check if the issue persists when using a different terminal or shell.
  • Consider using a command-line argument or flag to specify the OAuth code instead of pasting it interactively.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be related to the specific terminal or shell configuration, and trying a different method to paste the OAuth code may resolve the issue.

Recommendation

Apply workaround: Try using a different method to paste the OAuth code, as the issue may be specific to the Ctrl+Shift+V or Right-Click shortcuts.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] OAuth input prompt fails to accept pasted text in SSH session (Ubuntu 24.04) [2 comments, 3 participants]