Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

SSH remote sessions in Claude Desktop on 3P changedthird-party/claude-desktop/ssh-remote-sessions

Nearest release: v2.1.334, published an hour 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 1 Dec 2026 20:12 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 1 Dec 2026 20:37 UTC.

Upstream edited
Recorded here
Lines+23added
Lines−16removed
From line 47 where the diff opens
First seen 28 Aug 2026 this site's first read of the page
Recorded edits54to this page, all time

The whole hunk

from line 47, old and new numbered
/
lines
from line 47
4747* After an update that includes a new remote server, Claude Desktop replaces the host's remote server at a later connection. This ends the engines under the old server. Claude Desktop can put the replacement off while it believes that work is running on that host.
4848* After an update that includes a newer Claude Code, the user sends a message in the session. Claude Desktop 4.29.0 or later can then replace the engine with the newer version, if the engine has reported that it has no background or scheduled work.
4949* On a Linux or macOS host, 30 days pass without a connection from Claude Desktop to the remote server. The remote server then stops and ends its engines. Requires Claude Desktop 1.52386.0 or later. On a Linux host, you can [set a shorter time](#limit-how-long-engines-run-with-no-connection). The shorter time requires Claude Desktop 6.6395.0 or later on each device that connects.
50* [Automatic deletion](https://claude.com/docs/third-party/claude-desktop/data-storage.md#automatic-deletion-of-idle-sessions) deletes the session while Claude Desktop is connected to the host. This needs Claude Desktop 18.19841.0 or later, a value for `codeSessionRetentionDays`, and `codeSessionRetentionIncludeSshAndWsl` set to `true`.
5051* Someone ends the engine's process on the host. To list or end the engines and the remote server yourself on a Linux or macOS host, see [Files and processes on the remote machine](https://code.claude.com/docs/en/desktop#files-and-processes-on-the-remote-machine). There the engine is called Claude Code, and the remote server the helper.
5152 
5253While Claude Desktop is disconnected, the remote server keeps the most recent output of each running engine in a 16 MiB buffer. It drops older output, and the engine keeps running.
from line 184
183184* **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.
184185* **From the first message**: the engine sends the earlier conversation to Amazon Bedrock, tool results included.
185186 
186The copying stops when the user deletes the session in Claude Desktop. That removes the copy from the device and leaves the host's file, with the turns that Claude Desktop added. Automatic deletion with [`codeSessionRetentionDays`](https://claude.com/docs/third-party/claude-desktop/configuration#codesessionretentiondays) leaves the session and the copy in place (see [Automatic deletion of idle sessions](https://claude.com/docs/third-party/claude-desktop/data-storage.md#automatic-deletion-of-idle-sessions)).
187The copying stops when the user deletes the session in Claude Desktop. That removes the copy from the device and leaves the host's file, with the turns that Claude Desktop added. Automatic deletion with [`codeSessionRetentionDays`](https://claude.com/docs/third-party/claude-desktop/configuration#codesessionretentiondays) leaves the session and the copy in place, unless you also set `codeSessionRetentionIncludeSshAndWsl` to `true` (see [Automatic deletion of idle sessions](https://claude.com/docs/third-party/claude-desktop/data-storage.md#automatic-deletion-of-idle-sessions)).
187188 
188189`allowedWorkspaceFolders` applies to the folder that the user picks. A terminal session isn't bound by the list, so file contents from elsewhere on the host can be in a conversation that reaches the device.
189190 
from line 384
383384You can set the key in these places:
384385 
385386* **Device management**: users can't edit a machine-scoped profile or policy. For when its value applies, see [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management).
386* **Enterprise Admin Console**: the console's value applies unless the device has a profile or policy that holds this key and, apart from it, nothing but the [app-behavior keys and the keys treated like them](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence). On a Windows device with no machine policy (`HKLM`), a per-user policy (`HKCU`) counts as such a policy. Whoever can write to `HKCU` can then set `all` over the console's `none` (see **A machine policy on Windows** under [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management)).
387* **Enterprise Admin Console**: the console's value applies unless the device has a profile or policy of only [app-behavior keys](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence) that holds this key. On a Windows device with no machine policy (`HKLM`), a per-user policy (`HKCU`) counts as such a policy. Whoever can write to `HKCU` can then set `all` over the console's `none` (see **A machine policy on Windows** under [Deploy remoteFileDownloads through device management](#deploy-remotefiledownloads-through-device-management)).
387388* **Bootstrap response**: put the key inside the `codeSurface` object.
388389* **In-app configuration window**: the key appears in the **Code surface** section while Code is enabled, in Claude Desktop 5.11492.0 or later. The user can change a value that is set there.
389390 
from line 393
392393Connection settings are the keys that say where Claude Desktop gets inference or its configuration, such as the inference provider keys or the bootstrap keys. Before you deploy [`remoteFileDownloads`](#file-downloads-from-the-remote-host) through [device management](https://claude.com/docs/third-party/claude-desktop/mdm.md), plan for these cases:
393394 
394395* **Devices on a version before 5.1231.0**: update all devices to Claude Desktop 5.1231.0 or later first. On earlier versions, on Windows and Linux, a profile or policy that holds this key can turn off other settings, connection settings included. On macOS, Claude Desktop doesn't see the key. For each platform's case, see [Keys that an earlier version does not recognize](https://claude.com/docs/third-party/claude-desktop/mdm.md#keys-that-an-earlier-version-does-not-recognize).
395* **A profile or policy that holds your connection settings**: set the key in that same profile or policy, and set the same value in the bootstrap response or the console too. Connection settings are outside the [app-behavior keys and the keys treated like them](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence). Where a profile or policy holds any key outside that group, a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md) or an [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md) that leaves `remoteFileDownloads` out overrides the profile's value. The key then counts as unset, which means `limited` on a device with a profile or policy.
396* **A profile or policy that holds this key and, apart from it, nothing but the app-behavior keys and the keys treated like them**: the user's or the console's configuration stays in place. The profile's value takes precedence over the value from the Enterprise Admin Console, a bootstrap server, or the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md).
396* **A profile or policy that holds your connection settings**: set the key in that same profile or policy, and set the same value in the bootstrap response or the console too. Connection settings aren't [app-behavior keys](https://claude.com/docs/third-party/claude-desktop/mdm.md#update-keys-and-managed-precedence). Where a profile or policy holds any key that isn't an app-behavior key, a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md) or an [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md) that leaves `remoteFileDownloads` out overrides the profile's value. The key then counts as unset, which means `limited` on a device with a profile or policy.
397* **A profile or policy of only app-behavior keys that holds this key**: the user's or the console's configuration stays in place. The profile's value takes precedence over the value from the Enterprise Admin Console, a bootstrap server, or the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md).
397398* **A machine policy on Windows**: while machine policy (`HKLM`) holds this key, Claude Desktop applies nothing from a per-user policy (`HKCU`). Move what the per-user policy holds, connection settings included, into the machine policy.
398399 
399400A profile or policy, even one that holds only this key, also changes how WSL sessions and shell commands in Code sessions work on the device (see [What a profile or policy changes on a device](https://claude.com/docs/third-party/claude-desktop/mdm.md#what-a-profile-or-policy-changes-on-a-device)).
from line 534
533534 
534535For a host where no hook from any part of a copied plugin may run, use one of the host's settings. Under `allowManagedHooksOnly` or `disableAllHooks`, the plugins themselves still load on the host, with their MCP servers and skills. To keep those off too, use `disableSideloadFlags`.
535536 
536A change on a device applies to sessions that start after it: a remote session that is already running keeps the hooks that were copied for it. `disableSideloadFlags` on a host also applies only to sessions that start after it. To stop the hooks of a session that is already running, [end its engine on the host](#how-a-remote-session-works).
537A change to one of these settings on a device applies to sessions that start after it: a remote session that is already running keeps the hooks that were copied for it. `disableSideloadFlags` on a host also applies only to sessions that start after it. To stop the hooks of a session that is already running, [end its engine on the host](#how-a-remote-session-works).
537538 
538539In a device's or a host's first Claude Code managed settings, also set `parentSettingsBehavior` to `"merge"`, or they replace the [policy that Claude Desktop supplies](#managed-configuration-on-the-remote-host) (for a device, see [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device)). Where managed settings exist already, add the key to them and leave `parentSettingsBehavior` as it is.
539540 
from line 544
543544* **Policy on files and network**: `allowedWorkspaceFolders`, `blockReadsOutsideWorkingDirectories`, `coworkEgressAllowedHosts`, and permission rules don't apply to a command that a hook runs.
544545* **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.
545546* **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
546* **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.
547* **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 the path in that variable can delete or write other files.
547548* **A hook that can't start on the host**: the tool call goes ahead. For a `PreToolUse` hook, the session shows `A hook of the "<plugin>" plugin gave no usable answer, so it didn't check this action.` the first time only; later calls go ahead with no message. To stop the call instead, see [Block the action when a hook fails](https://code.claude.com/docs/en/hooks#block-the-action-when-a-hook-fails).
548* **Files in the `hooks` directory**: files that a hook wrote there on the device, such as logs or state, are copied with it, and whoever administers the host can read them. The copy stays on the host for at least 30 days after its last use, or for good if no session starts there again, and of the settings above, count on the device's alone to stop the copying. Have hooks write outside the plugin's directory, for example in [`${CLAUDE_PLUGIN_DATA}`](https://code.claude.com/docs/en/plugins/components#path-variables-and-persistent-data).
549* **A plugin that is turned off or removed on the device**: new sessions start without it. Remote sessions that are already running keep its hooks until you end their engines, as above.
549* **Files in the `hooks` directory**: files that a hook wrote there on the device, such as logs or state, are copied with it, and whoever administers the host can read them. The copy stays on the host for at least 30 days after its last use, or permanently if no session starts there again. Of the settings in this section's table, count on the device's settings alone to stop the copying. Have hooks write outside the plugin's directory, for example in [`${CLAUDE_PLUGIN_DATA}`](https://code.claude.com/docs/en/plugins/components#path-variables-and-persistent-data).
550* **A plugin that is turned off or removed on the device**: new sessions start without it. Remote sessions that are already running can keep its hooks. To be sure that the hooks have stopped, [end the sessions' engines on the host](#how-a-remote-session-works).
550551 
551552### Symbolic links in allowed workspace folders on the remote host
552553 
from line 566
565566A remote session doesn't enforce `mode` in these cases:
566567 
567568* **Windows hosts.**
568* **Hosts with their own Claude Code managed settings**: Claude Code ignores the rules, and the sandbox settings that Claude Desktop supplies with them, unless the host's managed settings set `parentSettingsBehavior` to `"merge"`. Under `"merge"` the host's own values still win where the two differ, so `sandbox.enabled` set to `false` there leaves shell commands unsandboxed (see [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)).
569569* **An entry that is or contains the SSH user's `~/.claude` folder, such as `~`**: Claude Code keeps its own files there. List narrower folders.
570570 
571On a Linux or macOS host with its own Claude Code managed settings, Claude Code ignores the rules, and the sandbox settings that Claude Desktop supplies with them, unless the host's managed settings set `parentSettingsBehavior` to `"merge"`. Under `"merge"` the host's own values still win where the two differ, so `sandbox.enabled` set to `false` there leaves shell commands unsandboxed (see [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)). Where Claude Code ignores the rules, Claude Desktop 18.19841.0 or later applies `mode` to Claude's file tools only, because Claude Desktop checks each call to those tools itself.
572 
571573Where the rules apply, they cover the following:
572574 
573575* **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.
from line 592
590592 
591593| Message in the session | `reason` your collector receives | Cause | Fix |
592594| - | - | - | - |
593| Shell commands on `<host>` are running outside your organization's sandbox, which couldn't start | `cannot_start` | The sandbox is turned on but isn't running, for example because a Linux host lacks the sandbox dependencies | Install the [dependencies](https://code.claude.com/docs/en/sandboxing#set-up-linux-and-wsl2) on the host, then start a new session |
595| Shell commands on `<host>` are running outside your organization's sandbox, which couldn't start | `cannot_start` | The sandbox is turned on but isn't running, for example because a Linux host lacks the sandbox dependencies | [Check the host first](https://claude.com/docs/third-party/claude-desktop/code.md#user-namespaces), then install the [dependencies](https://code.claude.com/docs/en/sandboxing#set-up-linux-and-wsl2) on the host, then start a new session |
594596| Your organization's sandbox isn't running on `<host>`. Claude Code has no sandbox for that operating system | `unsupported` | The host runs an operating system that Claude Code reports no sandbox for, such as Windows | Use a macOS or Linux host |
595597| Your organization's sandbox policy isn't fully applied on `<host>`, so shell commands there may go beyond its limits | `overridden` | Claude Code managed settings on the host replace your policy, even when they say nothing about the sandbox, or they turn the sandbox off or loosen it | Set `parentSettingsBehavior` to `"merge"` in the host's managed settings, and remove `sandbox` values there that conflict with your policy |
596598| No message | `unknown` | Claude Code gives no answer that Claude Desktop can read | In a session on that host, ask Claude to run the two commands under [Confirm commands run inside the sandbox](https://code.claude.com/docs/en/sandboxing#confirm-commands-run-inside-the-sandbox) |
from line 717
715717 
716718* **`reason`**: `rules` when Claude Code lists none of the sent rules as managed policy, or `claude_code` when Claude Code itself reports that it left out the sent policy
717719* **`session_id`**: Claude Desktop's ID for the session
718* **`backend_kind`**: `ssh`
720* **`backend_kind`**: `ssh`, or `wsl` for [a Code session in WSL](https://claude.com/docs/third-party/claude-desktop/code.md#policy-status-on-the-device)
719721 
720722The event doesn't name the host. To find the host, identify the user from the event's [user attribution](https://claude.com/docs/third-party/claude-desktop/telemetry.md#user-attribution) attributes, and ask that user.
721723 
from line 825
823825* The server doesn't need to allow TCP, Unix socket, agent, or X11 forwarding. A `ProxyJump` host must allow TCP forwarding to the SSH port of the session's host.
824826* A POSIX shell, or PowerShell on Windows.
825827* `git` on the path, for git features.
828* On a Linux host, `bubblewrap` and `socat`, if your policy has a [sandbox](#sandbox-status-on-the-remote-host) or the host's managed settings [turn one on](#sandbox-from-the-host%E2%80%99s-managed-settings). Some Linux images include neither. If either is missing, Claude Code's sandbox can't start, and shell commands run outside it unless a setting [requires the sandbox](#a-required-sandbox-isn%E2%80%99t-available). To install them, see [Set up Linux and WSL2](https://code.claude.com/docs/en/sandboxing#set-up-linux-and-wsl2). On a host that doesn't allow user namespaces, or where your users' logins are mapped to a confined SELinux user, installing both can make every sandboxed shell command fail, so [check the host first](https://claude.com/docs/third-party/claude-desktop/code.md#user-namespaces).
826829* A home directory that the SSH user can write to and run programs from, with about 1 GB of disk space for the three Claude Code versions the app keeps and a fourth while an update installs. A home directory mounted `noexec` doesn't work. Where [`sshHostProgramsPreinstalled`](#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) is on, the home directory must still be writable, but Claude Desktop puts neither the remote server nor Claude Code there.
827830 
828831The device needs the OpenSSH client (`ssh` and `ssh-keygen`). Claude Desktop runs the first `ssh` on the user's `PATH`. On macOS and Linux, while `sshClientPath` is unset, Claude Desktop can also run `/usr/bin/ssh`. On Windows, the first `ssh` is the first `ssh.exe`, and a `.bat`, `.cmd`, or `.ps1` wrapper named `ssh` isn't run. For the `ssh` that carries the connection on a Windows device, see [Prepare Windows devices for the OpenSSH client](#prepare-windows-devices-for-the-openssh-client).
from line 972
969972* **Repeated sign-ins**: each time Claude Desktop connects or reconnects to a host, it signs in at least twice, to run commands and to transfer files, and once more for each terminal that opens. A Windows host needs at least one more sign-in each time. On a Windows device, each sign-in is a separate `ssh` process. They stay open together, so a per-user login limit on the host has to leave room for them. Each process connects to the host by name, so a name that stands for several machines, such as a load balancer or round-robin DNS, must send all connections from one device to the same machine. Claude Desktop repeats a typed password or key passphrase itself for the other sign-ins of that connection. A host that asks for a one-time code, a push approval, or a security key touch asks again at each sign-in.
970973* **Key files that other accounts can read**: `ssh` ignores a private key file that any account but the user, SYSTEM, or Administrators can read. After a sign-in fails because of such a file, Claude Desktop tightens the file's access list where it can, and connects again. `ssh.log` records the list before and after.
971974* **Host keys that aren't on record**: where the app can show a prompt, it asks the user whether to trust the key, and records a trusted key in the user's `known_hosts` file. To distribute host keys instead, see [SSH configuration on the device](#ssh-configuration-on-the-device).
972* **Saved passwords**: when the session's host asks for the account password, the sign-in dialog has a **Remember password for `<host>`** checkbox. To turn saved passwords off, set [`disableSshSavedPasswords`](https://code.claude.com/docs/en/desktop#managed-settings) to `true` in Claude Code's managed settings on the device, by the steps for `disableDesktopLocalSessions` in those settings under [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). The dialog then has no checkbox, and the app stops using passwords that it saved earlier. It doesn't delete them, and the user's settings no longer offer to forget one. Removing the connection in the app still deletes its saved password. Deliver the setting before devices start to use the OpenSSH client. Neither the Enterprise Admin Console nor a bootstrap server can deliver it.
975* **Saved passwords**: when the session's host asks for the account password, the sign-in dialog has a **Remember password for `<host>`** checkbox. To turn saved passwords off, set [`disableSshSavedPasswords`](https://code.claude.com/docs/en/desktop#managed-settings) to `true` in Claude Code's managed settings on the device, by the steps for `disableDesktopLocalSessions` in those settings under [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). Deliver the setting before devices start to use the OpenSSH client. Neither the Enterprise Admin Console nor a bootstrap server can deliver it. With the setting on, the sign-in dialog has no checkbox, and the app doesn't use saved passwords when it connects to a host. The setting doesn't delete those passwords. To delete a saved password, have the user hover over the connection in the [environment picker](https://code.claude.com/docs/en/desktop#start-a-session), click its gear icon, click **Edit connection…** if it appears, and click **Forget** next to **Password saved**. Removing the connection in the app also deletes its saved password, unless another connection in the app has the same **SSH host** and **SSH port**. Before Claude Desktop 18.19841.0, the app hid **Password saved** and **Forget** while `disableSshSavedPasswords` was `true` or while the built-in client served the host. On those versions, have the user remove the connection instead, or update Claude Desktop if the connection comes from `sshConfigs`.
973976 
974977Check what the device's OpenSSH client needs on Windows:
975978 
from line 991
988991* **Keys that a bootstrap response leaves out**: where a response leaves out `sshTransport` or `sshClientPath` and the registry sets it, Claude Desktop 4.29.0 or later writes a line to `ssh.log` in the [logs directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives) each time it connects to an SSH host. The line contains `the device profile sets` and names the key.
989992* **Devices on the Enterprise Admin Console**: the console's configuration replaces the registry's `sshTransport` and `sshClientPath`, even where the console leaves them unset. Set them in the console too. A client that isn't Microsoft's, or a value that starts with `%LOCALAPPDATA%\`, doesn't connect when it comes from the console. The console's `sshClientPath` reaches its macOS and Linux devices too, and SSH connections fail there under a Windows path. See [Devices that move to an admin console organization](#devices-that-move-to-an-admin-console-organization).
990993* **When a change takes effect**: at each host's next connection. An open app applies a change in the registry at its next configuration check. From a bootstrap server or the Enterprise Admin Console, an open app applies a new value only if it is `builtin`, once two configuration checks in a row return it. Other values apply, at the latest, once the app has been reopened and has downloaded the configuration. A host that is connected keeps its client until the connection drops, which can take days. To move it at once on a Windows device, have the user quit and reopen Claude Desktop. After a change to the managed configuration the reopened app can fail to rejoin the engine, and a turn that still runs on the host is then cut short, as [How a remote session works](#how-a-remote-session-works) describes. With a bootstrap server, a host that connects before the reopened app has downloaded the configuration uses the registry's value. Where the registry sets none, and with the console, see **Configuration that hasn't loaded** above.
991* **What `builtin` leaves on the device**: going back undoes nothing that was written while the OpenSSH client was in use. Saved passwords and new entries in the user's `known_hosts` file stay. The access list of a private key file that the app tightened stays too, and `ssh.log` recorded that list as it was before. The user's settings don't offer to forget a saved password under `builtin`, but removing the connection deletes it.
994* **What `builtin` leaves on the device**: going back undoes nothing that was written while the OpenSSH client was in use. Saved passwords and new entries in the user's `known_hosts` file stay. The access list of a private key file that the app tightened stays too, and `ssh.log` recorded that list as it was before. To delete a saved password, follow **Saved passwords** under [Prepare Windows devices for the OpenSSH client](#prepare-windows-devices-for-the-openssh-client).
992995 
993996### SSH configuration on the device
994997 
from line 1217
12141217 
12151218### Your organization doesn't allow this SSH connection
12161219 
1217The `sshHostAllowlist` in effect on this device is unset, empty, or has no entry that matches the host or a jump host on the way to it. The card's details say which. The name that must match is the `HostName` that the device's `~/.ssh/config` resolves the entered host to, so an entry that lists only an alias doesn't allow the host. To find which configuration source supplies the key on a device, see [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). For a device that moved to an admin console organization, see [Devices that move to an admin console organization](#devices-that-move-to-an-admin-console-organization). The connection test, and the "Couldn't connect to" card on the New session page, report the same denial as "Your organization's settings do not allow this connection." Before Claude Desktop 2.31226.0, the card's title was "SSH isn't allowed by your organization".
1220The `sshHostAllowlist` in effect on this device is unset, empty, or has no entry that matches the host or a jump host on the way to it. The card's details say which. The name that must match is the `HostName` that the device's `~/.ssh/config` resolves the entered host to, so an entry that lists only an alias doesn't allow the host. To find which configuration source supplies the key on a device, see [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). For a device that moved to an admin console organization, see [Devices that move to an admin console organization](#devices-that-move-to-an-admin-console-organization). The connection test, and the "Couldn't connect to" card on the New session page, report the same denial as "Your organization's settings don't allow this connection", or "do not allow" in earlier releases. Before Claude Desktop 2.31226.0, the card's title was "SSH isn't allowed by your organization".
12181221 
12191222For a jump host, read the warning under [Jump hosts and the allowlist](#jump-hosts-and-the-allowlist), then add the first name in the details to the allowlist. That name is the jump host's `HostName`, and the second name is the host that the user entered.
12201223 
from line 1251
12481251 
12491252### Ask your admin to set up Claude
12501253 
1251The card's title is `Ask your admin to set up Claude on <host>`, and the card says `This host doesn’t have the version of Claude this app needs.` The device has [`sshHostProgramsPreinstalled`](#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) on, and Claude Desktop, signed in as the SSH user, finds no file at one of the two paths that its version needs. Ask the user for `ssh.log` from the [logs directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives) on the device, which names each missing file. [Install those versions on the host](#install-the-remote-server-and-claude-code-on-a-host), and check that the SSH user can enter every parent folder.
1254The card's title is `Ask your admin to set up Claude on <host>`. The device has [`sshHostProgramsPreinstalled`](#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) on, and Claude Desktop, signed in as the SSH user, finds no file at a path that its version needs. The card says that the host lacks Claude Code, the SSH helper, or both, or that the host `doesn’t have the version of Claude this app needs`. The SSH helper is the card's name for the remote server.
12521255 
1256Have the user select **View details** on the card, select **Copy details**, and send you the copied text, which gives the version of each program that the host lacks. If the copied text names no version, ask the user for `ssh.log` from the [logs directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives) on the device, which names each missing file.
1257 
1258[Install the missing versions on the host](#install-the-remote-server-and-claude-code-on-a-host), and check that the SSH user can enter every parent folder.
1259 
12531260### Ask your admin to check Claude's installation
12541261 
12551262The card's title is `Ask your admin to check Claude’s installation on <host>`, and the card says `Claude is installed on this host but didn’t pass its startup check.` The device has [`sshHostProgramsPreinstalled`](#preinstall-the-remote-server-and-claude-code-on-ssh-hosts) on and the files are on the host. Causes include the following:
from line 1341
13341341 
13351342Claude Code on the host requires a sandbox that isn't available there, so it exits as it starts. The requirement comes from [`sshHostSandboxUnavailable`](#refuse-sessions-on-a-host-without-a-working-sandbox) set to `refuse` in your configuration, or from `sandbox.failIfUnavailable` in Claude Code settings on the host, in server-managed settings or a gateway's `code` settings, or in what a policy helper returns.
13361343 
1337The card's details give Claude Code's reason, such as `dependencies are missing`. They can end with Claude Code's own hint, `Set sandbox.failIfUnavailable=false to allow unsandboxed execution`. Don't follow that hint: it switches the requirement off. Where the reason names missing dependencies on a Linux host, install the [sandbox dependencies](https://code.claude.com/docs/en/sandboxing#set-up-linux-and-wsl2) with the distribution's package manager, then have the user send a message in the session. Claude Code reports no sandbox on a Windows host, so use a macOS or Linux host.
1344The card's details give Claude Code's reason, such as `dependencies are missing`. They can end with Claude Code's own hint, `Set sandbox.failIfUnavailable=false to allow unsandboxed execution`. Don't follow that hint: it switches the requirement off. Where the reason names missing dependencies on a Linux host, [check the host first](https://claude.com/docs/third-party/claude-desktop/code.md#user-namespaces), then install the [sandbox dependencies](https://code.claude.com/docs/en/sandboxing#set-up-linux-and-wsl2) with the distribution's package manager, then have the user send a message in the session. Claude Code reports no sandbox on a Windows host, so use a macOS or Linux host.
13381345 
13391346### Setup on the host fails after SSH connects
13401347 
Feedback