SSH remote sessions in Claude Desktop on 3P changedthird-party/claude-desktop/ssh-remote-sessions
Nearest release: v2.1.332, published under an hour after 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 24 Nov 2026 21:11 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 24 Nov 2026 21:37 UTC.
Upstream edited
Recorded here
Lines+16added
Lines−16removed
From line
114
where the diff opens
First seen
28 Aug 2026
this site's first read of the page
Recorded edits47to this page, all time
The whole hunk
from line 114, old and new numbered
/
from line 114
114114* **The last managed server**: if you remove your last server from `managedMcpServers`, Code sessions again load the MCP servers that users define in Claude Code's own configuration.
115115* **Tool policy**: `toolPolicy` doesn't move with the server. To keep it, see [Plugin structure](https://claude.com/docs/third-party/claude-desktop/extensions.md#plugin-structure).
116116* **Users**: with `installationPreference` set to `"required"`, users can't turn off the plugin in the app, but they can in their own Claude Code settings.
117* **Secrets**: a secret in the plugin's `.mcp.json` file reaches every device that installs the plugin and every host where a user starts a remote session. So can one in its `hooks` directory (see [Plugin hooks on the remote host](#plugin-hooks-on-the-remote-host)).
117* **Secrets**: a secret in the plugin's `.mcp.json` file reaches every device that installs the plugin and every host where a user starts a remote session. A secret in the plugin's `hooks` directory can reach the same devices and hosts (see [Plugin hooks on the remote host](#plugin-hooks-on-the-remote-host)).
118118* **The host's policy**: a [`managed-mcp.json`](https://code.claude.com/docs/en/managed-mcp) file on the host, or `disableSideloadFlags`, `allowedMcpServers`, or `deniedMcpServers` in its Claude Code managed settings, or a setup in which your organization starts Claude Code on the host itself, can keep the server out.
119119
120120A copy of the server in Claude Code's own configuration on the host is no substitute. The engine never loads a server there that has a managed server's name, and the session shows no message about it.
from line 140
140140
141141* **The device sends requests straight to Amazon Bedrock.** [`inferenceProvider`](https://claude.com/docs/third-party/claude-desktop/configuration#inferenceprovider) is `bedrock` or `mantle`, and [`inferenceBedrockBaseUrl`](https://claude.com/docs/third-party/claude-desktop/configuration#inferencebedrockbaseurl) is unset or names Amazon's own Bedrock endpoint. A VPC endpoint for `bedrock-runtime`, `bedrock-runtime-fips`, or `bedrock-mantle` counts. Before Claude Desktop 7.37095.0, a VPC endpoint counts only if it is for `bedrock-runtime`. Identity provider sign-in needs a proxy address in that key, so it doesn't qualify. With an address that doesn't count, such as a proxy or gateway, `/resume` is missing from the slash menu, and no message says why. The other conditions don't hide the command.
142142* **The engine has a credential on the host.** The credential kind [works on a remote host](#inference-credentials-on-the-remote-host), or the host starts Claude Code through a launcher. The launcher then supplies the credential, and must be one that the host's managed settings name (see [Resume through a corporate launcher](#resume-through-a-corporate-launcher)).
143* **The host's Claude Code managed settings hold the session to Amazon Bedrock.** A host without managed settings needs nothing. Where a host has them, they must hold an [`allowedProviders`](https://code.claude.com/docs/en/settings-reference#allowedproviders) list with only `bedrock` and `mantle`, or hold no such list and set `"parentSettingsBehavior": "merge"`. Otherwise the user sees `Sessions on this host can't be listed.`
143* **The host's Claude Code managed settings hold the session to Amazon Bedrock.** A host without managed settings needs nothing. If a host has managed settings, they must contain an [`allowedProviders`](https://code.claude.com/docs/en/settings-reference#allowedproviders) list with only `bedrock` and `mantle`, or contain no such list and set `"parentSettingsBehavior": "merge"`. Otherwise the user sees `Sessions on this host can't be listed.`
144144* **All of the session ran on Amazon Bedrock.** Claude Desktop leaves out a session that holds a reply from another provider, and one that was ever opened under a Claude sign-in.
145145
146146These keys refuse both the list and the selection:
from line 162
162162
163163Resuming a session brings its conversation from the host to the user's device:
164164
165* **At the list**: Claude Desktop first runs `claude auth status` on the host, which opens no session. It then skips the sessions that it already has for this host, and checks up to 60 of the folder's other session files, from the newest, or fewer on a slow host. Of each one that passes its Amazon Bedrock check, it fetches the first and the last 64 KiB. Of the folder's other session files, up to its 200 newest (more where the folder's path on the host is over 200 characters long) and up to 20 for each of its worktrees, only the name, the project folder's name, the size, and the time reach the device. Before Claude Desktop 7.37095.0, it checks the folder's 30 newest, and the sessions that it already has count among them.
165* **At the list**: Claude Desktop first runs `claude auth status` on the host, which opens no session. It then skips the sessions that it already has for this host, and checks up to 60 of the folder's other session files, from the newest, or fewer on a slow host. From each session file that passes its Amazon Bedrock check, Claude Desktop fetches the first and the last 64 KiB. For the folder's other session files, only the name, the project folder's name, the size, and the time reach the device. Those details reach the device for up to the folder's 200 newest session files (more where the folder's path on the host is over 200 characters long) and up to 20 for each of the folder's worktrees. Before Claude Desktop 7.37095.0, Claude Desktop checks the folder's 30 newest, and the sessions that it already has count among them.
166166* **At the selection**: it copies the whole conversation to the user's device, before the user sends anything, with the conversation's subagent files and every `agent-*.jsonl` file in the same project folder, which it doesn't check. The copy goes to Claude Code's store on the device, as for every SSH session (see [Removing data](https://claude.com/docs/third-party/claude-desktop/data-storage.md#removing-data)).
167167* **Afterward**: the copy follows the host's file. What someone later adds to that conversation in a terminal reaches the device too, unchecked.
168168* **On the device**: other Claude Code sessions there can read the copy, in Claude Desktop or in a terminal, under whatever provider or sign-in they use. The conversation can leave Amazon Bedrock that way.
from line 232
232232>
233233> The allowlist has one kind of entry, so users can also start a session on any host that you list, and that session receives your [inference credential](#inference-credentials-on-the-remote-host), where Claude Desktop passes one. List only jump hosts that you'd also let users run sessions on.
234234
235Claude Desktop checks jump hosts in the `ProxyJump` that the device's `~/.ssh/config` sets for the session's host, or in a `ProxyCommand` written as `ssh -W %h:%p <host>`. If one that it checks isn't on the allowlist when the app connects or reconnects a session, the connection fails. When the user starts a session or sends a message, they see [Your organization doesn't allow this SSH connection](#your-organization-doesn%E2%80%99t-allow-this-ssh-connection), and the card's details give that jump host's `HostName`.
235Claude Desktop checks jump hosts in the `ProxyJump` that the device's `~/.ssh/config` sets for the session's host, or in a `ProxyCommand` written as `ssh -W %h:%p <host>`. If a jump host that Claude Desktop checks isn't on the allowlist when the app connects or reconnects a session, the connection fails. When the user starts a session or sends a message, they see [Your organization doesn't allow this SSH connection](#your-organization-doesn%E2%80%99t-allow-this-ssh-connection), and the card's details give that jump host's `HostName`.
236236
237237Find the names to add in a terminal on a user's device. Skip `proxyjump` lines only on devices where the built-in client makes every connection, for example with `sshTransport` set to `builtin`. The built-in client [refuses every `ProxyJump`](#ssh-configuration-on-the-device), listed or not.
238238
2392391. Run `ssh -G` with a host that users connect to, for example `ssh -G build01`. Look for a `proxyjump` line, or a `proxycommand` line written as `ssh -W %h:%p <host>`. The command still counts with any of `-l`, `-p`, `-J`, `-q`, `-v`, `-N`, `-T`, `-x`, or `-a`, and the hosts after `-J` are jump hosts too. If a `proxycommand` line runs a program other than `ssh`, add nothing for it.
2402. Run `ssh -G` with each jump host on that line, without any `:port`, and note the `hostname` that it prints. If the output for the first jump host on that line has a line of either kind, repeat this step with it. Ignore such a line in a later jump host's output.
2402. Run `ssh -G` with each jump host on that line, without any `:port`, and note the `hostname` that it prints. If the output for the first jump host on that line has a line of either kind, repeat this step with the jump hosts on the new line. Ignore a line of either kind in the output for a later jump host.
2412413. Add each hostname, or a wildcard that covers it, to the `sshHostAllowlist` that applies on the device. To tell which one applies, see [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). Then have users quit and reopen Claude Desktop, because when a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md#availability) or the [admin console](https://claude.com/docs/third-party/claude-desktop/admin-console.md#configuration-updates) delivers the list, an open app allows the hosts that you added only after the app restarts.
242242
243243### Interaction with Claude Code managed settings on the device
from line 387
387387
388388> [!WARNING]
389389>
390> List only hosts you trust in `sshHostAllowlist`. Where Claude Desktop passes a credential, 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, so prefer one that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key. With [Amazon Bedrock and a named profile](#amazon-bedrock-with-a-named-profile), the engine uses AWS credentials that are kept on the host, also while Claude Desktop is closed, and the same accounts can get those.
390> In `sshHostAllowlist`, list only hosts that you trust. Where Claude Desktop passes a credential, 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, so prefer one that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key. With [Amazon Bedrock and a named profile](#amazon-bedrock-with-a-named-profile), the engine uses AWS credentials that are kept on the host, also while Claude Desktop is closed, and the same accounts can get those.
391391
392392Unless the host's [launcher](https://claude.com/docs/third-party/claude-desktop/code.md#start-code-sessions-through-a-corporate-launcher) starts Claude Code or the deployment uses [Amazon Bedrock with a named profile](#amazon-bedrock-with-a-named-profile), Claude Desktop passes the session's credential to the remote engine. For model requests, the engine then doesn't use these on the host: an AWS profile, SSO cache, or instance or container role; an Azure CLI sign-in or managed identity; or Google application default credentials. Commands, hooks, and local MCP servers that run on the host run as the SSH user, and may be able to use them. Claude Desktop copies no AWS, Azure, or Google credential files to the host. Which credential kinds work on a remote host depends on the provider:
393393
from line 414
414414
415415With a [named profile](https://claude.com/docs/third-party/claude-desktop/bedrock.md#named-profile), the device's AWS credentials stay on the device. Claude Desktop sends the host the profile's name and the folder that holds the AWS files, and nothing else from the profile. The engine signs in to AWS with the profile of that name on the host, in the AWS Region that your Claude Desktop configuration sets. Your `inferenceCustomHeaders` and your collector's endpoint and headers still go to the host. Session titles, Cowork, and the connection test still use the profile on the device.
416416
417This has no configuration key of its own. It applies to every Linux or macOS host that `sshHostAllowlist` allows, and sessions start where the host has the files as the steps here describe. A profile of that name that is already on a host is used as it is, so check existing hosts before you update Claude Desktop. Windows hosts aren't supported. You can keep new sessions from using the host's profile in three ways:
417This behavior has no configuration key of its own. It applies to every Linux or macOS host that `sshHostAllowlist` allows, and sessions start if the host has the files set up as the steps in this section describe. A profile of that name that is already on a host is used as it is, so check existing hosts before you update Claude Desktop. Windows hosts aren't supported. You can keep new sessions from using the host's profile in three ways:
418418
419419* **On one host**: keep the host's name off `sshHostAllowlist` and outside its wildcards, which refuses new SSH sessions and connections under that name (see [Enable SSH remote sessions](#enable-ssh-remote-sessions)).
420420* **On a host that names a launcher**: turn `claudeCodeProcessWrapperEnabled` on, and the launcher starts Claude Code there, as the last paragraph of this section describes.
from line 491
491491A plugin's hooks aren't guaranteed to run on a host: some sessions start without them, and by default a hook that can't start lets the action go ahead. Check these limits before you rely on hooks, or on your policy, in remote sessions:
492492
493493* **Policy that only devices have**: Claude Code on the host doesn't read the device's Claude Code managed settings. A [policy mod](https://code.claude.com/docs/en/plugins/mods/admin#enforce-a-policy-with-a-mod-of-your-own) that those settings install isn't copied, so copied hooks run without it. Install it through each host's managed settings too.
494* **Policy on files and network**: `allowedWorkspaceFolders`, `blockReadsOutsideWorkingDirectories`, `coworkEgressAllowedHosts`, and permission rules don't bind a command that a hook runs.
494* **Policy on files and network**: `allowedWorkspaceFolders`, `blockReadsOutsideWorkingDirectories`, `coworkEgressAllowedHosts`, and permission rules don't apply to a command that a hook runs.
495495* **Marketplace lists on a host**: `strictKnownMarketplaces` and `blockedMarketplaces` in the host's managed settings don't stop a copied plugin's hooks. To stop them, set `disableSideloadFlags` there.
496496* **A [launcher](https://claude.com/docs/third-party/claude-desktop/code.md#start-code-sessions-through-a-corporate-launcher) that the host's managed settings name**: hooks are copied to such a host too
497497* **The host's environment**: hooks run with the host's environment, not the device's. A variable that only the device sets, and that Claude Desktop doesn't send, is empty on the host, so a hook that deletes or writes under it can hit other files.
from line 514
514514* **Claude's file tools**: they refuse to create or change a file under the path, even in bypass permissions mode. A writable entry listed inside a read-only one is read-only for them too.
515515* **Shell commands that Claude runs with its Bash tool**: Claude Code's sandbox keeps them from writing under the path on a host where it runs, which on Linux needs Claude Code's [sandbox dependencies](https://code.claude.com/docs/en/sandboxing). The sandbox doesn't cover commands listed in Claude Code's `sandbox.excludedCommands`, or a path that contains one of `* ? [ ] ( ) { } | +` or a double quote. It may not stop commands in a folder that is listed through a symbolic link, so list each read-only folder by its real path, and keep it outside writable entries. On a host where the sandbox doesn't run, shell commands can still change the folder. For how the app reports that, see [Sandbox status on the remote host](#sandbox-status-on-the-remote-host).
516516
517The rules don't bind the SSH user, or other programs that run under that account. MCP servers on the host, hooks from Claude Code's configuration on the host, [mods](https://code.claude.com/docs/en/plugins/mods/overview) in plugins installed on the host, the [hooks of copied plugins](#plugin-hooks-on-the-remote-host), and the session's terminal (including commands that Claude runs there) can change the folder, and Claude Desktop and Claude Code can create git worktrees inside it.
517The rules don't apply to the SSH user, or to other programs that run under that account. MCP servers on the host, hooks from Claude Code's configuration on the host, [mods](https://code.claude.com/docs/en/plugins/mods/overview) in plugins installed on the host, the [hooks of copied plugins](#plugin-hooks-on-the-remote-host), and the session's terminal (including commands that Claude runs there) can change the folder, and Claude Desktop and Claude Code can create git worktrees inside it.
518518
519519### Sandbox status on the remote host
520520
from line 588
588588* **Your configuration asks for no sandbox**: it asks for none where `coworkEgressAllowedHosts` contains `*` and `allowedWorkspaceFolders` is unset. On a device whose only configuration is the local configuration file, [an unset `coworkEgressAllowedHosts` doesn't turn on the sandbox by itself](https://claude.com/docs/third-party/claude-desktop/web-tools#unset-allowlist-in-code-sessions) either. Both keys reach well beyond SSH, so read the entries for [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/configuration#coworkegressallowedhosts) and [`allowedWorkspaceFolders`](https://claude.com/docs/third-party/claude-desktop/configuration#allowedworkspacefolders) before you change them.
589589* **Claude Code managed settings on the host replace your policy**: they do so unless `parentSettingsBehavior` there is `"merge"`, and settings from a policy helper do so either way. `refuse` then applies only if settings on the host turn a sandbox on. Where none do, a Windows host starts sessions too.
590590* **Server-managed or gateway settings replace your policy**: with the [Claude API](https://claude.com/docs/third-party/claude-desktop/claude-api.md) as the inference provider, Claude Code on the host fetches the [server-managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) of the organization that owns the credential. If that organization has any, they replace your policy on every host, even one with no managed settings of its own, unless `parentSettingsBehavior` in them is `"merge"`. While they apply, Claude Code by default ignores most keys in a file or profile on the host, `"merge"` among them. A [Claude apps gateway's `code` settings](https://claude.com/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) rank the same way, but merge unless they set `"first-wins"`.
591* **Managed settings loosen the sandbox**: even under `"merge"`, the values in the host's managed settings, the server-managed settings, or a gateway's `code` settings win over yours, for example `sandbox.enabled` or `sandbox.failIfUnavailable` set to `false`.
591* **Managed settings loosen the sandbox**: even under `"merge"`, the values in the host's managed settings, the server-managed settings, or a gateway's `code` settings take priority over the values in your policy, for example `sandbox.enabled` or `sandbox.failIfUnavailable` set to `false`.
592592* **A launcher on the host locates Claude Code itself**: with [`claudeCodeProcessWrapperEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#claudecodeprocesswrapperenabled) on, a session through such a launcher gets no sandbox settings from your policy, whatever `parentSettingsBehavior` says. A launcher that the host's managed settings name in `processWrapper` is different. `refuse` applies through it where those settings set `"merge"`, no server-managed or gateway settings apply, and the launcher passes its arguments on.
593593* **The sandbox passes the check and fails later**: the session starts with no card, and each shell command that would run in the sandbox fails or is refused. Have the host's administrator repair the sandbox.
594594
595Where Claude Code's managed settings replace your policy, set `parentSettingsBehavior` to `"merge"` in them, as [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) describes. `"merge"` counts for every application that starts Claude Code under those settings, Claude Desktop's local Code sessions included, and lets that application's allow rules and sandbox allowlists apply: see [Let an embedding host add policy](https://code.claude.com/docs/en/managed-settings#let-an-embedding-host-add-policy), which also says which source Claude Code reads the key from. If the same settings set `sandbox.failIfUnavailable` to `true`, the sessions for which your policy asks for a sandbox then [don't start on Windows](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings), or on any machine where the sandbox can't start.
595Where Claude Code's managed settings replace your policy, set `parentSettingsBehavior` to `"merge"` in them, as [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) describes. `"merge"` applies to every application that starts Claude Code under those settings, Claude Desktop's local Code sessions included, and lets that application's allow rules and sandbox allowlists apply: see [Let an embedding host add policy](https://code.claude.com/docs/en/managed-settings#let-an-embedding-host-add-policy), which also says which source Claude Code reads the key from. If the same settings set `sandbox.failIfUnavailable` to `true`, the sessions for which your policy asks for a sandbox then [don't start on Windows](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings), or on any machine where the sandbox can't start.
596596
597The rest is Claude Code's own policy, which binds every Claude Code that reads it, in a terminal too. To require a sandbox there, which is the only way behind a launcher that locates Claude Code, follow [Enforce sandboxing with managed settings](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings) and [How Claude Code combines managed sources](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources) in the Claude Code documentation. Settings that you create for this replace your policy too, unless they set `"merge"`.
597The rest is Claude Code's own policy, which applies to every Claude Code that reads it, including Claude Code in a terminal. To require a sandbox in that policy, which is the only way for a session through a launcher that locates Claude Code, follow [Enforce sandboxing with managed settings](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings) and [How Claude Code combines managed sources](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources) in the Claude Code documentation. Settings that you create for this replace your policy too, unless they set `"merge"`.
598598
599599Where a sandbox starts that didn't run before, a `true` for [`sandbox.autoAllowBashIfSandboxed`](https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) in a user's, a project's, or a local settings file on the host takes effect: sandboxed Bash commands then run without a prompt, even past an ask rule for all of Bash.
600600
from line 960
960960
961961### This session needs your organization's launcher
962962
963A launcher started this session, or the session that it was made from, and now the host names no launcher or `claudeCodeProcessWrapperEnabled` is off. The card shows only where a new session can use [the host's own AWS profile](#amazon-bedrock-with-a-named-profile). The user can select **New session**, and the new session signs in with the host's own AWS profile, if the host has one. To continue the old session, name the launcher on the host again and turn `claudeCodeProcessWrapperEnabled` on.
963A launcher started this session, or the session that it was made from, and now the host names no launcher or `claudeCodeProcessWrapperEnabled` is off. Claude Desktop shows this card only if a new session can use [the host's own AWS profile](#amazon-bedrock-with-a-named-profile). The user can select **New session**, and the new session signs in with the host's own AWS profile, if the host has one. To continue the old session, name the launcher on the host again and turn `claudeCodeProcessWrapperEnabled` on.
964964
965965This card requires Claude Desktop 7.37095.0 or later.
966966
from line 1093
10931093| `Your organization's settings don't allow resuming sessions from this host or folder.` | `sshHostAllowlist` refuses the host, `allowedWorkspaceFolders` refuses the folder, or the credential kind doesn't [work on a remote host](#inference-credentials-on-the-remote-host) | Change the key or the credential kind, or have the user pick a folder inside the list |
10941094| `Sessions on this host can't be listed.` | The host doesn't qualify. Check first whether its managed settings lack both `"merge"` and an `allowedProviders` list. Other causes include a Windows host, a launcher that locates Claude Code itself or sets another provider, and a wider `allowedProviders` list on the host | See [Where resuming a saved session is available](#where-resuming-a-saved-session-is-available). To tell the causes apart, see [Find why resume refuses a host](#find-why-resume-refuses-a-host) |
10951095| `Couldn't load sessions from the host.` | The connection to the host isn't up, or the host gave no usable answer. For example, a launcher was too slow to answer | Have the user select **Try again**. If the message returns and you have a launcher, see [Resume through a corporate launcher](#resume-through-a-corporate-launcher). To tell the causes apart, see [Find why resume refuses a host](#find-why-resume-refuses-a-host) |
1096| `Some sessions aren't listed.`, under the list or alone | The folder holds more session files than Claude Desktop goes through for one list, or some of them are too large (over 64 MiB) or too slow to check, or hold another provider's reply. The message stands alone where nothing is left to list | Have the user resume the session in a terminal on the host |
1096| `Some sessions aren't listed.`, under the list or alone | The folder holds more session files than Claude Desktop goes through for one list, or some of them are too large (over 64 MiB) or too slow to check, or hold another provider's reply. The message appears alone if nothing is left to list | Have the user resume the session in a terminal on the host |
10971097| `Couldn't resume that session.` | No reason is shown. For example, a key refuses the selection, the file is gone, or the host or the session no longer passes the checks | See [Where resuming a saved session is available](#where-resuming-a-saved-session-is-available) |
10981098| `The host says that another user owns or can change that session's file` | For example, `sudo claude` wrote the file as root, or its mode is `0664` | Check the owner and mode of the session's file, under `~/.claude/projects` on the host |
10991099| `Claude Code on <host> has no working credentials` | At the first message, Claude Code on the host got no working credential for Amazon Bedrock. For example, a company sign-in behind the launcher's credential has lapsed | Have the user sign in again on the host, then select **Try again** |
from line 1108
11081108
11091109* **This Claude Desktop already has the session for this host**, in the sidebar or archived
11101110* **The folder has many newer session files**: Claude Desktop takes the folder's 200 newest session files, skips the sessions that it already has for this host, and goes through the rest from the newest. It stops once it has 30 sessions that began in a terminal, or at 60 files, or sooner on a slow host. The user then sees `Some sessions aren't listed.`, under the list or alone. Have the user resume such a session in a terminal on the host. Before Claude Desktop 7.37095.0, it goes through the 30 newest files, and the sessions that it already has count among them.
1111* **The session was saved for another folder**, a subfolder included: the list goes by the real path of the folder that the user picked, and takes in that folder's Claude Code worktrees
1111* **The session was saved for another folder**, a subfolder included: the list uses the real path of the folder that the user picked, and includes that folder's Claude Code worktrees
11121112* **A program started the session**: for example, `claude -p`
11131113
11141114#### Find why resume refuses a host
No line in this hunk matches that.