Background daemon auto-spawn fails over SSH: "Could not switch to audit session ... Operation not permitted"

Status Closed — not planned
Maintainer reply None cached
Activity 2 comments · opened Jul 1, 2026 · closed Jul 1, 2026

Description

Duplicate report — closing. (Original content removed.)

Summary for reference: on macOS, running Claude Code over an SSH-only session (no local console/GUI login session), the background daemon's on-demand ("transient") auto-spawn can fail with an audit-session error, breaking --bg dispatch. Manually running claude daemon run in the background as a persistent process works as a workaround.

View original on GitHub ↗

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