Skip to content

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

Description

@foresee-io
  • 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-hostIssues for the agent-host implementation (not the protocol)agents-windowbugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions