[BUG] SSH sessions take ~5 minutes to appear in session list (desktop app, Windows)

Resolved 💬 1 comment Opened Apr 21, 2026 by evan-lovalto Closed May 28, 2026

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?

Summary

When starting a new session in the desktop app with an SSH connection selected as the environment, the session does not appear in the session list until ~5 minutes after it's created. Local sessions are unaffected — they show up immediately. Started happening on or around 2026-04-20.

Environment

  • OS: Windows 11 (x64)
  • Claude Code Desktop version: <PASTE VERSION FROM Settings → About>
  • Remote host OS: Debian/Ubuntu (Hetzner VPS)
  • Remote ccd-cli version on host: 2.1.111

Actual

The session takes roughly 5 minutes to appear. During that window it's fully running on the remote host but invisible in the app.

Evidence the session is live on the remote host during the lag

ps aux on the remote host while the session is "missing" in the app shows:

  • The per-user RPC daemon ~/.claude/remote/server --socket ~/.claude/remote/rpc.sock is running
  • A ~/.claude/remote/ccd-cli/2.1.111 ... --output-format stream-json ... process is running for the new session, with a fresh --resume <uuid> or freshly-spawned PID

So the session is being created and launched promptly on the remote host — the lag is in the desktop app's discovery / listing, not in remote session startup.

Impact

Breaks the feedback loop for SSH-based development. Multiple users on the same host (shared dev VPS) are all affected.

What Should Happen?

The new SSH session appears and starts in the session list immediately, same as local sessions do.

Error Messages/Logs

Steps to Reproduce

  1. Open the desktop app.
  2. Start a new session and select a pre-configured SSH connection as the environment.
  3. Observe the session list.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.111

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

Notes

  • Local sessions on the same machine are not affected.
  • Issue reproduces across multiple Linux users on the same remote host.
  • Restarting the app does not shorten the delay.

View original on GitHub ↗

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