Persistent re-authentication requests when running Claude Code in tmux sessions

Resolved 💬 3 comments Opened Oct 19, 2025 by AndyDavo Closed Oct 23, 2025

Description

When running Claude Code inside tmux sessions, there are frequent and persistent requests to re-authenticate, even though authentication credentials are already configured and valid.

Expected Behavior

After initial authentication, Claude Code should maintain authentication across tmux sessions and not repeatedly ask for re-authentication.

Actual Behavior

Claude Code frequently prompts for re-authentication when running in tmux sessions, interrupting workflow.

Environment

  • Claude Code running in tmux sessions
  • Multiple concurrent tmux sessions (session-per-issue workflow)
  • Shared authentication configured at /etc/claude/.credentials.json
  • Linux server environment with multiple tmux sessions

Context

We run a multi-user development environment where:

  • All Claude Code sessions run as the same user
  • Authentication credentials are stored in a central location
  • Each tmux session corresponds to a different issue/feature branch
  • Developer may have concurrent sessions

Impact

This significantly disrupts developer workflow, as authentication interruptions happen frequently and require manual intervention.

Additional Information

  • Credentials file has correct permissions (660)
  • ACLs are configured to allow access
  • All sessions run as the same user

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗