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.336, published 3 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 3 Dec 2026 22:01 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 3 Dec 2026 22:07 UTC.

Upstream edited
Recorded here
Lines+11added
Lines−8removed
From line 212 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 212, old and new numbered
/
lines
from line 212
212212| `["*"]` | Users can connect to any host |
213213| `["build01.corp.example.com", "*.dev.example.com"]` | Users can connect only to hosts that match an entry |
214214 
215While SSH remote sessions are off, the environment picker shows local sessions only, and any attempt to connect to a saved host is refused.
215While SSH remote sessions are off, the environment picker offers no SSH host, and any attempt to connect to a saved host is refused.
216216 
217217Each entry is an exact hostname, an IP address, or a `*.` wildcard.
218218 
from line 981
981981* **Application control**: `ssh` shows its prompts through three helper programs that ship with Claude Desktop, `claude-ssh-askpass.exe`, `claude-ssh-broker.exe`, and `claude-ssh-proxy.exe`. Allow them in your application control policy by their publisher, Anthropic, PBC, and let the rule match any product name and any file version. Their folder changes with each update. With Claude Desktop 6.28899.2 or later, each file's version information gives the company `Anthropic, PBC`, the product `Claude`, and the file version `1.0.0.0`, which helps you recognize the files, for example in an alert. The file version stays `1.0.0.0` when Claude Desktop updates. The helper programs of Claude Desktop 6.6395.1 and earlier have no version information, so a rule that also requires a product name or a file version doesn't match them. Allow the `ssh.exe` that the version check found, and the `ssh-keygen.exe` beside it, too. If Windows refuses to start the helpers, the app can't ask for a key passphrase, and `ssh` refuses a host whose key isn't on record. If `sshTransport` is `system-openssh`, sign-ins that need a password or a one-time code fail. Otherwise, if the app itself can't start the helper, the built-in client makes those sign-ins. See [This computer won't start Claude's SSH sign-in helper](#this-computer-won%E2%80%99t-start-claude%E2%80%99s-ssh-sign-in-helper).
982982* **Firewall and endpoint security**: if your endpoint security software blocks `claude-ssh-askpass.exe`, `claude-ssh-broker.exe`, or `claude-ssh-proxy.exe` after a Claude Desktop update, have it trust their publisher, `Anthropic, PBC`, rather than a path or a file hash. See [Endpoint security software](https://claude.com/docs/third-party/claude-desktop/installation.md#endpoint-security-software). Allow `ssh.exe` outbound wherever you allow Claude Desktop itself. With `sshTransport` unset or `auto` and no `sshClientPath`, the built-in client takes over where Windows refuses to start `ssh.exe`, but not where `ssh.exe` starts and can't reach the network. Each connection that the OpenSSH client makes then fails or times out, and the card points to the network or the host, not to `ssh.exe`.
983983* **While `ssh.exe` can't reach the network**: a host that stays on the built-in client still connects. For other hosts, set `sshTransport` to `builtin`, for Windows devices only, until you can allow `ssh.exe` (see **One value for all platforms** below). A host that the device first reaches meanwhile stays on the built-in client afterwards. The session's terminal runs `ssh.exe` with either client, so it stays blocked until then.
984* **Key files**: `ssh` doesn't read a PuTTY `.ppk` key file. Unless the host stays on the built-in client because of that file (see **PuTTY key files** above), export the key in OpenSSH format, and have the user select the exported file as the connection's identity file.
984* **Key files**: `ssh` doesn't read a PuTTY `.ppk` key file. Where a connection's identity file in the app is a `.ppk` file, and the host doesn't stay on the built-in client because of that file (see **PuTTY key files** above), Claude Desktop converts the key to OpenSSH format and gives `ssh` the converted copy. Claude Desktop keeps the copy in the `ssh\ppk-keys` folder of its [application-data directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives), where only the user, SYSTEM, and Administrators can open the copy, for as long as a saved connection names the `.ppk` file. The copy of a key that has a passphrase is encrypted with the same passphrase. The copy of a key that has no passphrase isn't encrypted. Claude Desktop doesn't convert a key that has no passphrase if the `.ppk` file is on a network share, is on another drive than the application-data directory, or is encrypted by Windows. It also doesn't convert a `.ppk` file that only `~/.ssh/config` names. For those files, export the key in OpenSSH format, and have the user select the exported file as the connection's identity file. Before Claude Desktop 18.35363.0, Claude Desktop on Windows converts no `.ppk` file, so export the key.
985985* **SSH configuration files**: `ssh` reads the user's `~/.ssh/config` itself, and the connection fails if `ssh` rejects the file. In a Command Prompt window on a device, signed in as the user, run the usable client with `-G` and a host, for example `ssh -G build01.corp.example.com`. Use the client's full path if it isn't the first `ssh` on the `PATH`. `ssh` prints the host's settings if it accepts the file, and an error if it doesn't.
986986 
987987If you set `sshTransport`:
from line 1350
13501350* **`[SFTP_UNAVAILABLE]`**: the host's SSH server refused the SFTP subsystem. Enable `Subsystem sftp` in the server's `sshd_config`, or see what a session needs under [Hosts without SFTP](#hosts-without-sftp).
13511351* **`[SESSION_LIMIT]`**: the host's SSH server refused to open another session on the connection. If the host has to keep its `MaxSessions` limit, the device's OpenSSH client has to make the connection. See [Hosts that allow one session per connection](#hosts-that-allow-one-session-per-connection) for the version and the setting that each platform needs. Otherwise, raise `MaxSessions` in the server's `sshd_config`, for example to OpenSSH's default of 10, and reload the SSH server.
13521352* **`[SFTP_NOT_STARTED]`**: the host's SSH server accepted the request for SFTP, but the SFTP server ended before its first answer, or text arrived in place of that answer. In a terminal on the device, run `sftp` with the same host, for example `sftp [email protected]`, to see what stops it. Then check the settings and files that the message names, or see what a session needs under [Hosts without SFTP](#hosts-without-sftp).
1353* **`[EXEC_NO_INPUT]`**: the host's SSH server ran the app's command but passed it no input, which setup and the session's own link need. In a terminal on the device, run `echo hi | ssh` with the same host and `cat`, for example `echo hi | ssh [email protected] cat`. It prints `hi` on a host that passes input. Have the host's administrator let commands run over SSH receive input.
1353* **`[EXEC_NO_INPUT]`**: the app's command ran on the host but got no input, which setup and the session's own link need. Either a shell startup file of the SSH user, such as `~/.bashrc` or `~/.zshenv`, asks a question and takes the input, or the host's SSH server passes none. In a terminal on the device, run `echo hi | ssh` with the same host and `cat`, for example `echo hi | ssh [email protected] cat`. It prints `hi` on a host where commands get input. First have the user keep those files from asking questions in non-interactive shells. If neither file asks one, have the host's administrator let commands run over SSH receive input.
13541354* **`[ENOSPC]` or `[EDQUOT]`**: a disk is full, or a quota is used up. In a message that starts with `Couldn't prepare the deploy locally`, the disk is the device's. In any other message it is the host's, so free space in the SSH user's home directory. [Host requirements](#host-requirements) gives the space the app needs.
13551355* **`Unsupported remote platform`**: the host's operating system or processor isn't among those under [Host requirements](#host-requirements).
13561356* **`[CLI_NOT_RUNNABLE]`**: the remote server installed the engine, but the engine's first run didn't start or didn't exit cleanly, so the remote server removed it. One cause is a glibc older than 2.17. Run `ldd --version` on the host to check. Before Claude Desktop 2.37337.0, the message has no code and starts with `Couldn't install the Claude CLI on the remote (cli archive)`.
from line 1359
13591359* **`[SERVER_NOT_RUNNABLE]`**: the remote server didn't run from `~/.claude/remote` in the SSH user's home directory, or stopped before it answered. A home directory mounted `noexec` is one cause, and security software on the host that keeps programs from running there is another. Have the host's administrator check that programs can run from that folder. Before Claude Desktop 4.4212.0, the code appears only on a [host without SFTP](#hosts-without-sftp).
13601360* **`[DOWNLOAD_BUSY]`**: Anthropic's download server answered that it is busy, so Claude Desktop couldn't download the engine or the remote server to the device. Claude Desktop has already waited and asked again. Have the user try again in a few minutes. If the code keeps coming back, check whether a proxy on the device's network limits downloads from `downloads.claude.ai`, because a proxy can give the same answer.
13611361* **`[DOWNLOAD_FAILED]`, or `Couldn't prepare the deploy locally` with a network code such as `[ETIMEDOUT]`**: the device couldn't download one of the programs that it puts on the host. In the message, `(server binary)` stands for the remote server and `(cli archive)` for the engine. Have the user check the device's internet connection. If your network blocks `downloads.claude.ai`, allow it. If you can't, and your SSH hosts run Linux on x64 or arm64, install Claude Desktop with the [offline installer](https://claude.com/docs/third-party/claude-desktop/installation.md#ssh-remote-sessions-with-the-offline-installer), which bundles the remote server and the engine for those hosts.
1362* **`[DOWNLOAD_BLOCKED]`**: a proxy, a firewall, or the download server refused the device's download of one of those programs, for example with HTTP `403` or `407`, or with a certificate error. Allow `downloads.claude.ai` or use the offline installer, as for `[DOWNLOAD_FAILED]`.
13621363* **`[DOWNLOAD_GOT_WEB_PAGE]`**: a web page came back in place of the download. If the device's network has a sign-in page, have the user sign in. If a proxy answers `downloads.claude.ai` with a block page, allow that address or use the offline installer, as for `[DOWNLOAD_FAILED]`.
13631364 
13641365`[SESSION_LIMIT]` and `[SFTP_NOT_STARTED]` require Claude Desktop 2.31226.0 or later. `[SFTP_NOT_STARTED]` appears only when the device's OpenSSH client makes the connection. Their cards are titled `<host> allows too few SSH sessions per connection` and `SFTP doesn't start on <host>`.
from line 1366
13651366 
13661367In Claude Desktop 4.16336.0 or later, `[SESSION_LIMIT]` also appears where the built-in client makes the connection, on a device of any platform. Before Claude Desktop 4.16336.0, it appears only on macOS and Linux devices, and only when the device's OpenSSH client makes the connection.
13671368 
1368`[CLI_NOT_RUNNABLE]` and `[EXEC_NO_INPUT]` require Claude Desktop 2.37337.0 or later. `[EXEC_NO_INPUT]` appears only where the device's OpenSSH client makes the connection. Their cards are titled `Claude Code didn't run on <host>` and `Ask <host>'s administrator to let SSH commands receive input`. From the same version, the card is titled `Couldn't copy Claude Code to <host>` where the app couldn't put its files on the host, and `Couldn't install Claude Code on <host>` where the engine's install failed, each for a cause with no card of its own.
1369`[CLI_NOT_RUNNABLE]` and `[EXEC_NO_INPUT]` require Claude Desktop 2.37337.0 or later. `[EXEC_NO_INPUT]` appears only where the device's OpenSSH client makes the connection. Their cards are titled `Claude Code didn't run on <host>` and `Commands on <host> get no input`. From the same version, the card is titled `Couldn't copy Claude Code to <host>` where the app couldn't put its files on the host, and `Couldn't install Claude Code on <host>` where the engine's install failed, each for a cause with no card of its own.
13691370 
1370Before Claude Desktop 4.29.0, the `[EXEC_NO_INPUT]` card is titled `<host> doesn't pass input to commands run over SSH`.
1371Before Claude Desktop 18.35363.0, the `[EXEC_NO_INPUT]` card is titled `Ask <host>'s administrator to let SSH commands receive input`. Before Claude Desktop 4.29.0, it is titled `<host> doesn't pass input to commands run over SSH`.
13711372 
13721373`[SETUP_DIR_NOEXEC]` and `[SERVER_NOT_RUNNABLE]` require Claude Desktop 3.1623.0 or later. Their card is titled `Ask <host>'s administrator to let Claude's server run`.
13731374 
13741375`[DOWNLOAD_BUSY]` requires Claude Desktop 4.4212.0 or later, and its card is titled `Try again in a few minutes`. Before Claude Desktop 4.4212.0, the card for `[SETUP_DIR_NOEXEC]` and `[SERVER_NOT_RUNNABLE]` is titled `Claude's server didn't run on <host>`.
13751376 
1376`[DOWNLOAD_GOT_WEB_PAGE]` requires Claude Desktop 4.16336.0 or later, and its card is titled `Sign in to your network, or ask IT to allow the download`. From the same version, the `[DOWNLOAD_FAILED]` card is titled `Check your internet connection, or ask IT to allow the download`.
1377`[DOWNLOAD_GOT_WEB_PAGE]` requires Claude Desktop 4.16336.0 or later, and its card is titled `Sign in to your network or ask IT to allow <address>`. From the same version, the `[DOWNLOAD_FAILED]` card is titled `Check your internet connection or ask IT to allow <address>`.
13771378 
1379`[DOWNLOAD_BLOCKED]` requires Claude Desktop 18.35363.0 or later, and its card is titled `Check your proxy or firewall settings, or ask IT to allow <address>`. Earlier versions show `[DOWNLOAD_FAILED]` for these failures.
1380 
13781381### Claude Code fails to start because of the settings file on the host
13791382 
13801383The remote server can't use `/etc/claude-desktop-ssh/settings.json` on the host, or a folder above it, so it starts no new engines until root fixes the file. The card is titled `Couldn't start Claude Code on <host>` and reads "Send the details to your IT team so they can fix the settings file on `<host>`." Terminal tabs still work, and engines that are already running keep running. Requires Claude Desktop 6.6395.0 or later.
from line 1451
14481451| `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) |
14491452| `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 |
14501453| `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** |
1451| `A resumed session can only use Amazon Bedrock's own address, and Claude Code was started with another address or provider.`, at a resumed session's first message. Before Claude Desktop 7.37095.0, the card is titled `Your organization doesn't allow this API key or provider` | The launcher points Amazon Bedrock requests at a proxy or gateway address. The same happens where `AWS_ENDPOINT_URL`, `AWS_ENDPOINT_URL_BEDROCK`, or `AWS_ENDPOINT_URL_BEDROCK_RUNTIME`, in the SSH user's environment on the host, names an address that isn't an Amazon Bedrock endpoint. If a new session fails too, an `allowedProviders` list in the host's managed settings lacks the provider in use | Have the launcher send resumed sessions to Amazon Bedrock's own address, or unset the variable. See [Resume through a corporate launcher](#resume-through-a-corporate-launcher). Otherwise, have the user start a new session, or resume this one in a terminal on the host. Don't widen `allowedProviders` on the host, unless a new session fails too. In that case, add the provider in use to the list, and no provider other than `bedrock` and `mantle` |
1454| `A resumed session can only use Amazon Bedrock's own address, but Claude Code on the host is set to use another address or provider.`, at a resumed session's first message. Before Claude Desktop 18.35363.0, the message ends `and Claude Code was started with another address or provider.` Before Claude Desktop 7.37095.0, the card is titled `Your organization doesn't allow this API key or provider` | The launcher points Amazon Bedrock requests at a proxy or gateway address. The same happens where `AWS_ENDPOINT_URL`, `AWS_ENDPOINT_URL_BEDROCK`, or `AWS_ENDPOINT_URL_BEDROCK_RUNTIME`, in the SSH user's environment on the host, names an address that isn't an Amazon Bedrock endpoint. If a new session fails too, an `allowedProviders` list in the host's managed settings lacks the provider in use | Have the launcher send resumed sessions to Amazon Bedrock's own address, or unset the variable. See [Resume through a corporate launcher](#resume-through-a-corporate-launcher). Otherwise, have the user start a new session, or resume this one in a terminal on the host. Don't widen `allowedProviders` on the host, unless a new session fails too. In that case, add the provider in use to the list, and no provider other than `bedrock` and `mantle` |
14521455| `This session's file or folder on the host is missing or didn't pass a safety check.`, with `Claude Code wasn't started, because this session's file on the host couldn't be checked, can be changed by another user, or holds a command that would run by itself.` under **View details** | At the first message, Claude Desktop checks the session's files again, and refuses one that records a deferred tool call. It also refuses the start if the folder that the session ran in is gone, or the SSH user can't enter it. Before Claude Desktop 7.37095.0, no answer from the host to this check gives the text under **View details** too | Check that the folder that the session ran in exists on the host, and that the SSH user can enter it. Then check that the session's file exists, and its owner and mode, under `~/.claude/projects` |
14531456| `This session can only continue on Amazon Bedrock, and that isn't possible here right now.`, with `Claude Code wasn't started, because this session can only continue on Amazon Bedrock.` under **View details** | The device, the host, or the session file no longer passes the checks | See [Where resuming a saved session is available](#where-resuming-a-saved-session-is-available) |
14541457| `A check on the host didn't finish.`, with `Claude Code wasn't started, because a check on the host didn't finish.` under **View details** | Claude Code on the host, or the host itself, gave no usable answer | Have the user try again. If the message returns and you have a launcher, see [Resume through a corporate launcher](#resume-through-a-corporate-launcher) |
Feedback