[FEATURE] Desktop SSH sessions: continue them from any device signed in to the same account
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
All my work runs on an always-on, headless Mac mini. I use Claude Desktop on Windows with an SSH connection to it (Code tab, SSH sessions), plus the Claude iOS app. All devices are in my own private network (Tailscale). Max plan.
The work itself lives on the server, but the conversations are tied to the one PC that started them:
- The SSH sessions live on the host: the transcripts are in
~/.claude/projects, the processes run under the Desktop helper. The session list with titles, groups and pins, however, only exists in the Desktop install that created them. As far as I can tell from the docs, a second computer signed in to the same account and connected to the same SSH host can't open and continue them. If I replace my PC with a laptop, I would lose my session list, although nothing is lost on the host. - Remote Control is documented for local sessions only, so I can't continue an SSH session from my iPhone or claude.ai/code.
- On Windows, quitting Desktop loses a running SSH task (no rejoin), and the task's sign-in is only renewed while that one Desktop is connected. So the session effectively depends on one specific client being on.
Proposed Solution
Make Desktop SSH sessions continuable from any device signed in to the same account:
- Any Claude Desktop signed in to my account that can reach the SSH host lists that host's sessions and can resume them, with the same titles, groups and pins. The transcripts can stay on the host; only the session list (metadata) needs to sync at the account level.
- The same sessions can be opened from the iOS app and claude.ai/code (Remote Control for SSH sessions), so I can follow and continue them from my phone while the PC is off.
Alternative Solutions
- Run sessions as local sessions in a Claude Desktop app on the Mac mini itself with Remote Control on. This works for the phone, but new sessions then have to be started through VNC on a headless machine.
claude remote-control(server mode) on the Mac mini: needs a terminal kept alive (tmux/screen) and is bound to one directory (see #100303).- SSH +
claude --resumein a terminal: works, but loses the Desktop UI, groups and titles.
Priority
High - Significant impact on productivity
Feature Category
Other
Use Case Example
- At my desk I start a session on the Mac mini from Claude Desktop (Windows, SSH).
- In the evening I want to continue on my laptop: I open Claude Desktop there, pick the same SSH host and see the same session list, and continue the conversation.
- On the go I open the iOS app, see the same session and answer a permission prompt or send a follow-up.
- Later I replace my PC; nothing about my sessions changes, because they belong to the host and my account, not to one client install.
Additional Context
- Related: #31992 (cross-machine resume for the CLI), #100303 (Remote Control server on an always-on host, project choice per session).
- Related, but the opposite concern: #78776 and #90433 report that session titles already sync across devices for local sessions. Whatever controls that sync should also cover SSH sessions, and it should be possible to open the session, not only see its title.
- Claude Code 2.1.304 (Desktop SSH helper), Desktop on Windows, SSH host on macOS.
Tested this today with a second Windows computer:
- Second Desktop install, same SSH host: Claude Desktop on a Windows laptop, signed in to the same account, with a new SSH connection that uses exactly the same
user@hostand port as on the first PC. The connection works, and Desktop installs its own helper instance on the host (a second folder under~/.claude/remote/run/, same server version). The sidebar shows none of the ~57 SSH sessions created from the first PC, not even their titles. /resumein an SSH session: typing/resumein a new SSH session on the laptop shows: "Terminal sessions can only be resumed in a local environment. Switch the environment to Local and try again." (translated from the German UI).
So today there is no way to continue an existing SSH session from a second Desktop install, although all transcripts are on the host in ~/.claude/projects/ and the second install is connected to that same host.
A first step that would already help: let /resume work in SSH environments and list the transcripts found on the host.
Same need here, with a Linux PC as the second computer.
Setup: Claude Desktop on a laptop and on a Linux PC, signed in to the same account. Both have the same SSH connections: one always-on host and several dev containers.
What happens: sessions I started from the laptop today do not appear on the PC. Their transcripts are on the hosts (~/.claude/projects/<project>/, with today's activity), and the PC's Desktop is connected to those same hosts. Only the session list is missing, because it is stored in the Desktop install that started the sessions.
Workaround: ssh <host>, cd to the project and claude --resume in a terminal. That continues the conversation, but outside the Desktop app and without its titles and groups.
The first step suggested above would already cover my case: let any Desktop connected to a host list and resume the transcripts found on that host.
Desktop 5.11492.2 on Linux, Claude Code 2.1.321 as the SSH helper.
+1, with two details from daily use.
Setup: two Macs (work and home), both using the desktop app's SSH connection to the same Linux build host. All checkouts and worktrees live on that host, and sessions keep running in the remote daemon after I disconnect, which works well.
What breaks:
The second Mac can't see sessions started on the first, even though their transcripts are sitting on the remote host in ~/.claude/projects/. The session list is stored on each Mac, there's no import, and /resume isn't available in SSH sessions.
My workaround is to continue in a terminal with claude --resume
What I'd want: the app lists the remote host's sessions for the connected project, lets me attach to any of them (including one that's still running), and reloads the conversation from the remote transcript so turns added elsewhere show up. This is how VS Code Remote-SSH already works, and it's the main thing keeping long-running work out of the app for me.
+1 , Codex is doing it since early 2026. I love the Desktop app and would like to continue my SSH session from any device on which I set up the SSH connection