[Bug] SSH connections prompt for login and fail on keychain-based authentication

Resolved 💬 1 comment Opened Jun 9, 2026 by CodeJoule Closed Jun 14, 2026

Bug Description
Claude Code no longer works over SSH from my iPhone - apparently tied to Claude Code design decision related to the macOS keychain that excludes SSH by default. Over SSH from iPhone it asks me to /login but that never works. Confirmed same login works locally on host but not remotely on the same host via SSH.

Environment Info

  • Platform: darwin (+ iOS)
  • Terminal: ghostty (+ Termius)
  • Version: 2.1.161
  • Feedback ID: b6d9cddd-0e42-42f5-9120-9e282bd855de

Errors

Retrying in 2s • attempt 1/1
Please run /login · API Error: 401 Invalid authentication credentials

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗