﻿# Cline Desktop SSH keeps the interface local and runs tools remotely

Understand Cline Desktop SSH as remote agent execution with a local interface, checking the selected host, remote workspace and configuration boundary before interpreting tool results.

Author: Retrivium editorial team
Updated: 2026-11-03
Canonical URL: https://retrivium.ai/journal/guide-cline-desktop-ssh-execution-scope/
Language: en

## Identify where the work executes

A developer opens Cline Desktop on a laptop and chooses a repository on a development server. The interface remains local, but that does not make the tools local. The [SSH guide](https://docs.cline.bot/usage/cline-desktop-ssh) places file operations, terminal commands, Git, MCP execution, and session history on the selected host. Record the environment and workspace together before interpreting a path or requesting a change.

## Distinguish a saved host from an active connection

Adding or testing a host is not the same as selecting it for a new session. The environment selector begins with Local; choosing the remote host changes the workspace picker to the remote filesystem. Recent workspaces are remembered separately per host. A successful connection test therefore establishes access readiness, not that the current conversation is already operating in the intended remote repository. Inspect the active environment before treating local and remote folders with the same name as equivalent.

## Understand the connection prerequisites

Current documentation requires noninteractive key-based SSH and an already trusted host. It lists supported remote platforms and excludes Windows hosts. These are connection requirements, not evidence that a model can repair arbitrary network setup. Cline uses the system SSH configuration rather than the application's HTTP proxy for this route. Keep host identity and route troubleshooting separate from model-provider errors; they can fail independently even though the same window displays both.

## Follow settings and session data separately

The [Desktop overview](https://docs.cline.bot/usage/cline-desktop) describes selecting the provider and model for continued work. The SSH guide says provider settings remain local while session credentials travel through the authenticated tunnel without being written into the host's provider settings. The [configuration guide](https://docs.cline.bot/getting-started/config) distinguishes provider settings from session storage. Do not infer that a local interface means no task data or credentials reach the remote execution environment.

## Verify location before evaluating a result

For an authorized remote workflow, inspect the account, host, working directory, and relevant file observation before judging the edit. The [workspace-context guide](/journal/learn-vscode-workspace-index-resolution/) separates visible project organization from available evidence; [tool observations](/journal/learn-codex-tool-observation/) establish what the selected environment actually returned. Keep the execution location in the handoff so a later local session does not mistake a remote result for a change already present on the laptop.
