[BUG] Can not /login via SSH - URL is not displayed nor is it copy-able
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I am logged in to my remote Ubuntu machine via SSH from my Windows 11 PC using Warp terminal. I try to run the /login command. and see the following:
<img width="985" height="316" alt="Image" src="https://github.com/user-attachments/assets/c7063abd-4e7e-45eb-93d5-56b661560fcd" />
Note that the text appears to be invisible based on me trying to make a selection:
<img width="1721" height="231" alt="Image" src="https://github.com/user-attachments/assets/7425292b-f501-4a6a-9876-55a206127a94" />
However, either it's not displaying the full URL, or I simply can't copy the whole URL. You can tell because when pressing "c" to copy, the pasted text comes out ending with "...callbac", so it appears to be truncated:
https://claude.com/cai/oauth/authorize?code=true&client_id=[xxxxxx]&response_type=code&redirect_uri=https%3A%2F%2Fplatform.claude.com%2Foauth%2Fcode%2Fcallbac
What Should Happen?
I should be able to copy the full URL to paste into my local browser client
Error Messages/Logs
Steps to Reproduce
- SSH into remote Linux machine from Windows
- Run
claude - Run the
/logincommand
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.258
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Warp
Additional Information
This has always been buggy, I even previously reported a similar issue which I was able to work around. However in its current state, I can not find a workaround, so it makes Claude Code unusable.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗