SSH remote sessions in Claude Desktop on 3P changedthird-party/claude-desktop/ssh-remote-sessions
Nearest release: v2.1.329, published 8 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 20 Nov 2026 02:49 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 20 Nov 2026 03:07 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−4removed
From line
24
where the diff opens
First seen
28 Aug 2026
this site's first read of the page
Recorded edits42to this page, all time
The whole hunk
from line 24, old and new numbered
/
from line 24
2424
2525On a host that ends a user's processes at logout, the remote server and the engine end with the SSH connection that started them, so a turn in progress doesn't survive a disconnect. Linux hosts where systemd-logind's `KillUserProcesses` setting is `yes` and applies to the SSH user behave this way. To keep remote sessions running through a disconnect on such a host, ask the host's administrator to exempt the SSH user, for example by listing the user under `KillExcludeUsers` in the systemd-logind configuration.
2626
27An idle engine stays on the host, with the credential in its environment, until one of these happens:
27An idle engine stays on the host, and keeps the credential, until one of these happens:
2828
2929* The user archives or deletes the session while Claude Desktop is connected to the host.
3030* The user reopens the session and Claude Desktop ends the engine to start a fresh one.
from line 313
313313
314314> [!WARNING]
315315>
316> A remote session runs Claude Code on the SSH host with your organization's inference credential in its process environment, for as long as that process runs, including while Claude Desktop is closed. Anyone who can read that process's environment on the host, such as the same user account or a root user, can read the credential. List only hosts you trust with it, and prefer a credential that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key.
316> A remote session runs Claude Code on the SSH host with your organization's inference credential, for as long as that process runs, including while Claude Desktop is closed. The same user account on the host, or a root user, can get the credential. List only hosts you trust with it, and prefer a credential that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key.
317317
318The remote engine uses only the credential Claude Desktop passes in its environment. It ignores credentials already on the host, such as an AWS profile or application default credentials, and Claude Desktop copies no credential files there. Credential kinds that live in a file on the device are refused at session start.
318The remote engine uses the credential that Claude Desktop passes to it. It ignores an AWS profile or application default credentials on the host, and Claude Desktop copies no credential files there. Credential kinds that live in a file on the device are refused at session start.
319319
320320| Provider | Works on a remote host | Refused at session start |
321321| - | - | - |
No line in this hunk matches that.