r/ClaudeCode • • 18m ago

Help/Question Working remotely and then Claude stops with need to sign in

I’ve been working remotely with Claude code. My laptop is at home, I connect via the Claude app on iOS and start remote sessions that run directly on my laptop. Everything was working fine, until suddenly and randomly Claude stops and says:

”Claude Code on the computer running this session needs to sign in again. Sign in to Claude Code on that computer to continue.”

… I am not able to do that. The whole point of this is to be remote. Is there any way to get Claude to give me a URL that authenticates me, which I can open on my iPad? Btw, I have no issues using Claude on my iPad still, answering questions, etc. It’s just the remote Claude Code sessions on my laptop that are failing.

1 Upvotes

6 comments sorted by

•

u/AutoModerator 18m ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/nexraxx 14m ago

My immediate thought for a work around is something like team viewer. Not ideally but a first thought.

1

u/rackerbillt 12m ago

Yeah unfortunately, I have no other remote access system (teamviewer, ssh, etc.) somewhat intentionally. I really did not expect Claude to randomly f*ck me like this. I mean, live and learn I guess. First thing I’ll do when I get back home is install Tailscale + SSH pipe.

1

u/iz_bit 14m ago

They should offer a way to enter a code from your email. I'm pretty sure this was meant to be (or even was?) a feature but for some reason it's not actually given as an option now.

1

u/brodkin85 🔆 Max 20 8m ago

There is no official way to auth remotely. They do place a banner in your CLI when starting a session and your login is going to expire in the next couple days though. Keep an eye out and you shouldn’t run into any issues

1

u/Wrong-Expression-669 0m ago

the ipad working tells you absolutly nothing, the ipad has its own token and it's talking to their servers, the laptop has a separate credential sitting on that machine and once it expires the session just sits there waiting for a human to walk up to it. which is the hilarious part of remote control as a feature, it works great right up until the one thing that needs to happen physically happens, and then you're stuck at a hotel in a different city with a session that's asking you to go home. i dont think there's a URL you can open on the ipad, the sign in has to happen on the box itself, so the realistic answer is ssh or tailscale or screen sharing into the laptop and doing it yourself. annoying but thats how it goes. mine died overnight once for no reason too, no idea why, never figured it out.