microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.62k stars 279 forks source link

ssh issue #4791

Closed Margarettttttttt closed 3 years ago

Margarettttttttt commented 3 years ago

Issue Type: Performance Issue

I tried to ssh to my aws ec2 but I got this error: Failed to connect to the remote extension host server (Error: spawn ENOTDIR)

VS Code version: Code 1.54.1 (f30a9b73e8ffc278e71575118b6bf568f04587c8, 2021-03-04T22:42:18.719Z) OS version: Darwin x64 20.2.0 Fetching remote diagnostics for 'SSH' failed: spawn ENOTDIR

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 4, 3| |Memory (System)|8.00GB (0.02GB free)| |Process Argv|--crash-reporter-id 7536d502-8021-4b0a-87e8-008e6688785c| |Screen Reader|no| |VM|0%| Fetching remote diagnostics for 'SSH' failed: spawn ENOTDIR
Process Info ``` CPU % Mem MB PID Process 17 115 30257 code main 5 41 30264 gpu-process 0 16 30267 utility 2 82 30290 shared-process 0 25 30292 ptyHost 0 0 30296 /bin/zsh -l 0 0 30774 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 123 30631 window (Extension: Remote - SSH) 0 33 30632 extensionHost 0 16 30637 electron_node server.js 0 33 30648 window (undefined) 0 213 30756 window (Welcome) 0 90 30757 extensionHost 0 57 30772 window (Issue Reporter) Fetching remote diagnostics for 'SSH' failed: spawn ENOTDIR ```
Workspace Info ``` Fetching remote diagnostics for 'SSH' failed: spawn ENOTDIR; ```
Extensions (26) Extension|Author (truncated)|Version ---|---|--- cc-nodejs|cc-|0.0.3 path-intellisense|chr|2.3.0 regex|chr|0.4.0 githistory|don|0.6.16 gitlens|eam|11.3.0 EditorConfig|Edi|0.16.4 tslint|eg2|1.0.45 auto-close-tag|for|0.5.10 sass-lint|gle|1.0.7 ansible|haa|0.2.8 docker-linter|hen|0.5.0 RelativePath|jak|1.4.0 vscode-codemetrics|kis|1.24.0 node-module-intellisense|lei|1.5.0 gitignore|mic|1.0.1 vscode-less|mrm|0.6.3 vscode-scss|mrm|0.9.0 vscode-docker|ms-|1.11.0 python|ms-|2021.3.680753044 jupyter|ms-|2021.3.684299474 remote-ssh|ms-|0.65.1 remote-ssh-edit|ms-|0.65.1 node-modules-resolve|nau|1.0.2 trailing-spaces|sha|0.3.1 code-spell-checker|str|1.10.2 ansible-autocomplete|tim|0.0.2
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstry914:30276682 pythonvsdeb440:30248342 pythonvsded773:30248341 pythonvspyt875:30259475 pythonvsnew554cf:30281909 pythontb:30265425 wslfolderdoc:30282074 vspre833:30267464 pythonptprofiler:30281270 vshan820:30276952 ```
roblourens commented 3 years ago

Please upgrade to the latest 1.54.3, this should be fixed there