Agents view fails to connect to SSH hosts using ProxyJump, while main editor's SSH works

Open
#317,445 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reproducing the failure from the Agents view with the provided ~/.ssh/config and ProxyJump setup, then compare it with the standard editor SSH connection that succeeds. Trace how each path handles the SSH configuration and verify that the Agents view connects successfully through the jump host without EHOSTUNREACH.

Written by the indexing model from the issue text.

Description

agent-host agents-window bug
  • VS Code Version: 1.120.0
  • OS Version: Darwin arm64 25.4.0

Steps to Reproduce:

  1. Define an SSH host in ~/.ssh/config that uses ProxyJump.
  2. Connect to the host via the standard editor SSH entry — works.
  3. Try connecting to the same host from the new Agents view — fails with EHOSTUNREACH.
Image

Expected:
Agents view should honor ~/.ssh/config (including ProxyJump) and connect successfully.

Actual:
Agents view cannot reach the host and immediately returns EHOSTUNREACH.

SSH config example:

host claude
    proxyJump jumpserver
    user var-x
    hostname var-c
    port 22
    identityfile var-b

host jumpserver
    user var-y
    hostname var-z
    port 22
    identityfile var-a
Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.