vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Won't Connect No Matter What I Do

Open tjvance42 opened this issue 1 year ago • 1 comments

Type: Bug

My config is correct and I can connect via Terminal, Putty or FileZilla with the same information yet I get the following error continually when I try to connect via Visual Studio Code which makes it unusable for me.

[10:55:20.073] Log Level: 2 [10:55:20.078] SSH Resolver called for "ssh-remote+mi3-ts100.a2hosting.com", attempt 1 [10:55:20.078] "remote.SSH.useLocalServer": false [10:55:20.078] "remote.SSH.useExecServer": true [10:55:20.079] "remote.SSH.showLoginTerminal": false [10:55:20.079] "remote.SSH.remotePlatform": {"mi3-ts100.a2hosting.com":"linux"} [10:55:20.079] "remote.SSH.path": undefined [10:55:20.079] "remote.SSH.configFile": undefined [10:55:20.079] "remote.SSH.useFlock": true [10:55:20.079] "remote.SSH.lockfilesInTmp": false [10:55:20.080] "remote.SSH.localServerDownload": auto [10:55:20.080] "remote.SSH.remoteServerListenOnSocket": false [10:55:20.080] "remote.SSH.showLoginTerminal": false [10:55:20.080] "remote.SSH.defaultExtensions": [] [10:55:20.080] "remote.SSH.loglevel": 2 [10:55:20.081] "remote.SSH.enableDynamicForwarding": true [10:55:20.081] "remote.SSH.enableRemoteCommand": false [10:55:20.081] "remote.SSH.serverPickPortsFromRange": {} [10:55:20.081] "remote.SSH.serverInstallPath": {} [10:55:20.083] VS Code version: 1.89.0 [10:55:20.083] Remote-SSH version: [email protected] [10:55:20.083] win32 x64 [10:55:20.084] SSH Resolver called for host: mi3-ts100.a2hosting.com [10:55:20.084] Setting up SSH remote "mi3-ts100.a2hosting.com" [10:55:20.088] Using commit id "b58957e67ee1e712cebf466b995adf4c5307b2bd" and quality "stable" for server [10:55:20.090] Install and start server if needed [10:55:20.096] Checking ssh with "C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler\ssh.exe -V" [10:55:20.098] Got error from ssh: spawn C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler\ssh.exe ENOENT [10:55:20.099] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V" [10:55:20.099] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT [10:55:20.099] Checking ssh with "C:\WINDOWS\ssh.exe -V" [10:55:20.100] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT [10:55:20.100] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V" [10:55:20.101] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT [10:55:20.101] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V" [10:55:20.102] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT [10:55:20.102] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V" [10:55:20.131] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3

[10:55:20.134] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 53219 "mi3-ts100.a2hosting.com" bash [10:55:20.136] Terminal shell path: C:\WINDOWS\System32\cmd.exe [10:55:20.685] > Corrupted MAC on input.

ssh_dispatch_run_fatal: Connection to 70.32.23.103 port 7822: message authentication code incorrect The process tried to write to a nonexistent pipe. ]0;C:\WINDOWS\System32\cmd.exe [10:55:20.686] Got some output, clearing connection timeout [10:55:21.934] "install" terminal command done [10:55:21.934] Install terminal quit with output: ]0;C:\WINDOWS\System32\cmd.exe [10:55:21.934] Received install output: ]0;C:\WINDOWS\System32\cmd.exe [10:55:21.935] Failed to parse remote port from server output [10:55:21.936] Resolver error: Error: at g.Create (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:499181) at t.handleInstallOutput (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:496503) at t.tryInstall (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:620043) at async c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:579901 at async t.withShowDetailsEvent (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:583207) at async k (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:576866) at async t.resolve (c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:580578) at async c:\Users\timjv.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:846687 [10:55:21.940] ------

Extension version: 0.110.1 VS Code version: Code 1.89.0 (b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:09:22.859Z) OS version: Windows_NT x64 10.0.22621 Modes: Connection to 'SSH: mi3-ts100.a2hosting.com' could not be established

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i7-12700K (20 x 3610)
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
Load (avg) undefined
Memory (System) 31.79GB (16.69GB free)
Process Argv
Screen Reader no
VM 0%

Connection to 'SSH: mi3-ts100.a2hosting.com' could not be established

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31022790
a69g1124:31038041
dwnewjupytercf:31035177

tjvance42 avatar May 03 '24 18:05 tjvance42

I also encountered the same problem

ningonone avatar May 15 '24 03:05 ningonone

I also encountered this problem, from 2 different devices where everything was already configured correctly, and on May 31 everything worked.

whitewolf06 avatar Jun 02 '24 21:06 whitewolf06

It sounds like this would be an issue with ssh, or your machine configuration. https://serverfault.com/questions/994646/ssh-on-windows-corrupted-mac-on-input. Maybe there was an update to ssh on windows.

Any different if you set "remote.SSH.useLocalServer": true (must be in your settings.json)

roblourens avatar Jun 07 '24 17:06 roblourens

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

vscodenpa avatar Jun 15 '24 12:06 vscodenpa