Skip to content

Cannot connect to remote windows machine over remote ssh #252040

Closed
@OpenByteDev

Description

@OpenByteDev

Type: Bug

  • Create ssh server on windows machine
  • Install Remote SSH extension
  • Try to connect

[13:13:40.464] ---------- [Session Summary] -----------
[13:13:40.465] [Timeout]: Error: Timeout (Connecting with SSH timed out)
[13:13:40.465] ----------------------------------------
[13:13:41.435] Opening exec server for ssh-remote+7b22686f73744e616d65223a224d61696cc3bc667465726c32227d
[13:13:41.512] Initizing new exec server for ssh-remote+7b22686f73744e616d65223a224d61696cc3bc667465726c32227d
[13:13:41.513] Using commit id "dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1" and quality "stable" for server
[13:13:41.513] Extensions to install:
[13:13:41.518] Install and start server if needed
[13:13:42.599] > Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6
[13:13:42.600] Got some output, clearing connection timeout
[13:13:42.628] >
[13:13:42.765] > PS C:\Users\Admin>
[13:13:42.798] >
PS C:\Users\Admin> $uuid="06eb4cfa96fe"
PS C:\Users\Admin> "${uuid}: running"
06eb4cfa96fe: running
PS C:\Users\Admin> "06eb4cfa96fe: pauseLog"
06eb4cfa96fe: pauseLog
[13:13:43.137] >
[13:13:43.389] > Looking for existing CLI in C:\Users\Admin.vscode-server
[13:13:43.403] > Found installed CLI
Server failed to start. - Cannot bind argument to parameter 'Path' because it is
null.
at aj_, : line 3
at main, : line 32
at , : line 1
[13:13:43.419] >
[13:13:43.525] > 06eb4cfa96fe: start
SSH_AUTH_SOCK====
listeningOn====
[13:13:43.545] >
osReleaseId==windows==
osVersion==10.0.19045==
arch==x64==
platform==windows==
unpackResult====
didLocalDownload==False==
downloadTime====
installTime====
extInstallTime====
serverStartTime====
execServerToken==a11a1a11-1111-1111-1111-111111a111aa==
06eb4cfa96fe: end
13552, watching 15252

VS Code version: Code 1.101.0 (dfaf441, 2025-06-11T15:00:50.123Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'SSH' could not be established Connecting with SSH timed out

System Info
Item Value
CPUs AMD Ryzen 5 5625U with Radeon Graphics (12 x 2296)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 14.83GB (7.09GB free)
Process Argv -n --crash-reporter-id 7ce74b5a-f251-408f-a8db-8c3b6eb474e1
Screen Reader no
VM 0%

Connection to 'SSH' could not be established Connecting with SSH timed out

Extensions: none
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc1:31192215
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
c7cif404:31314491
pythonpulldiagcf:31325931
996jf627:31283433
pythonrdcb7:31303018
usemplatestapi:31297334
0aa6g176:31307128
7bj51361:31289155
jjjhb125:31275178
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004
pylancequickfixf:31319675
d2249276:31327029
i851h500:31328299

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions