Skip to content
Back to Blog

Kimi Code's SSH Update: Choose Where the Session Lives

Published Editorial policy & corrections

Editorial note: AI-assisted primary-source research and original engineering analysis. Sources checked November 26, 2026. No Kimi Code client, SSH host, AWS account, provider request, or disconnect experiment was used. Proposed experiments and cost calculations are unrun.

Share:XBSMRedditHNEmail

An engineer starts a long repository task on a development host, closes the laptop, and expects to review the result later. Whether that works depends on where the agent session runs, where its model credentials live, and which machine maintains the process. The phrase “remote execution” leaves these questions open.

Kimi Code’s November 19, 2026 releases make execution placement a concrete product choice. Desktop v1.4.0 adds SSH projects whose files, tools, and sessions run on the host. CLI v2.7.0 adds an Amazon Bedrock provider and configurable follow-up behavior. These are dated product changes in Moonshot’s official release record.

Our K3.1 Pro assessment compared checkpoint evidence and serving economics. This article examines the location and continuity of the agent around the model. An unchanged checkpoint can produce a different operational result when its tools, session, and account route change.

Two SSH paths place state differently

For Desktop SSH projects, the project guide requires Kimi Code CLI on the remote host and describes remote Kimi sign-in. Custom provider import copies API keys and replaces same-named providers on that host. It leaves the local Kimi sign-in uncopied. Remote projects use the host’s configuration, while the documented local plugin and MCP configuration applies to local projects. The guide says tasks continue while the desktop machine is offline and can be viewed after reconnecting.

The existing CLI remote-environment route places file and shell operations on another machine while the CLI, model requests, credentials, and session state stay local. It requires an installed compatible executor. Resuming restores the environment and working directory. Changing how an environment starts reconnects it and stops running remote commands. This route appeared in the November 4 release, so its role here is the comparison baseline.

RouteDocumented location of session and model requestsOperational question
Desktop SSH projectAgent session on remote hostCan the host complete and preserve work during local disconnection?
CLI remote environmentSession and model requests on local machineWhat work remains possible when local orchestration is unavailable?
Bedrock providerSelected cloud model endpointWhich account, region, and protocol serve the next request?

These paths suit different operating requirements. For a disposable compute host, keeping credentials and session state local can simplify host replacement. For work expected to continue while the laptop is unavailable, placing the session on a maintained remote host deserves a specific continuity test. Establish the required behavior before selecting the route.

Configuration parity is part of a fair comparison

Suppose a local agent has access to a repository search tool and a reviewed formatting skill. Its remote version can read the same files but lacks both. A task-completion difference then includes configuration and tool discovery, as well as model behavior. A successful login establishes very little about parity.

Create a manifest for the evaluation with the repository revision, instruction files, model settings, allowed tools, tool versions, and relevant environment dependencies. Verify the remote host resolves the intended paths. Use a harmless fixture to confirm that the expected tools are available and return the expected kind of result. Preserve the manifest with the final artifact so another engineer can reproduce the run.

Provider import also needs an intentional destination. A same-named provider on the host may have been configured for a different project or budget. Inspect the resulting configuration and record who owns that account before routing work. Avoid silently treating the current desktop configuration as the authority for every shared development host.

Bedrock adds a billing and protocol choice

The provider reference says one bedrock entry selects Anthropic Messages or an OpenAI-compatible protocol from the model ID. It supports the AWS credential chain for short-lived bearer tokens, or an explicit API key that takes precedence. A region must be supplied through the documented environment fields. The guide says it currently cannot infer the region from ~/.aws/config.

This establishes a client integration. It does not establish access to every model in every account or region. Begin the pilot with a known permitted model and verify the resulting account usage. Capture the resolved model ID, region, protocol, and authentication method without copying credentials into transcripts or reports.

To isolate provider integration, hold the requested task, tools, effort, and acceptance rubric constant across supported routes. Where the available model differs, report a system comparison. A provider error, an unavailable model, and an incorrect answer are distinct outcomes requiring different remedies.

Immediate steering needs a timing test

The November 19 record makes Desktop follow-ups steer running agents immediately by default and provides a queueing setting. CLI adds an explicit Steer choice. The same CLI release’s experimental next-prompt prediction displays a suggestion that the user must accept. Follow-up and suggestion changes

For a harmless task, send a scope correction while a long read or local test is in progress. Record when the client sends it, when the agent acknowledges it, and which subsequent operations use the revised request. The useful outcome is a completed artifact matching the user’s current intention. A message appearing in the transcript alone cannot establish that result.

Include a correction immediately before disconnection and another after reconnecting. Review the timeline and artifact together. This tests whether the expected control path remains understandable when observation and execution happen on different machines.

A proposed adoption experiment

Use a disposable authorized repository with a fixed set of ordinary maintenance tasks. Compare local execution, CLI remote environments, and Desktop SSH projects where available. Run normal completion, local-network interruption, client restart, and remote-host restart as separate treatments. Preserve recoverable work and reconcile task status before resubmitting a request.

Measure accepted completion, lost progress, recovery time, duplicate effort, tool availability, and reviewer minutes. Add provider-route checks with a known regional configuration. The pilot should produce a readable explanation for every failed or interrupted run.

Calculate cost per accepted task using model charges, host running and idle time, storage, and support effort. In a hypothetical workload, a host retained for eight hours to perform one hour of useful agent work charges that idle time to the workflow. A cheaper model endpoint can leave the total bill almost unchanged if the remote environment dominates the cost.

Choose the placement that meets the required continuity and account constraints with the least measured operating burden. Keep the resulting configuration manifest and disconnect results with the deployment record. Those artifacts are the basis for repeating the decision when either client or provider changes.

Found this useful? Share it.

Share:XBSMRedditHNEmail

Continue through the same topic without returning to the index.

View the series