Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command "Remote-SSH: connect to host..." report an error #9729

Closed
Azeral0619 opened this issue Apr 1, 2024 · 1 comment
Closed

command "Remote-SSH: connect to host..." report an error #9729

Azeral0619 opened this issue Apr 1, 2024 · 1 comment
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@Azeral0619
Copy link

Azeral0619 commented Apr 1, 2024

Type: Bug

when I use ctrl+shift+p to connect to a ssh host,it pops up a window with the content “Cannot read properties of undefined(reading 'after')”。
Or automatically jump to the remote-ssh extension page when adding ssh hosts to remote (tunnel/SSH) in Remote Explorer.

logs:
2024-04-02 01:53:44.564 [error] TypeError: Cannot read properties of undefined (reading 'after')
at w (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:454892)
at $ (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:603988)
at P (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:602821)
at t.getConfiguredSshHosts (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:604945)
at t.interactivelyPickSshHost (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:489633)
at g.openEmptyWindowInCurrentWindow (c:\Users\32312.vscode\extensions\ms-vscode-remote.remote-ssh-0.109.0\out\extension.js:2:469163)
at l.h (d:\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:184831) opensshremotes.openEmptyWindowInCurrentWindow {"value":"ms-vscode-remote.remote-ssh","_lower":"ms-vscode-remote.remote-ssh"}

Extension version: 0.110.2024032215
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12500H (16 x 3110)
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.73GB (13.35GB free)
Process Argv --crash-reporter-id 9b626149-5062-41ee-bf10-5c7ebf767f52
Screen Reader no
VM 36%

Connection to 'wsl+ubuntu' could not be established

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
8082a590:30971561
fegfb526:30981948
bg6jg535:30979843
ccp1r6:30993540
dsvsc020:30976470
pythonait:30996668
dsvsc021:30996838
g1icg217:30999571

@VSCodeTriageBot VSCodeTriageBot added the ssh Issue in vscode-remote SSH label Apr 1, 2024
@Azeral0619 Azeral0619 changed the title 命令 "Remote-SSH: 添加新的SSH主机..."导致错误 command "Remote-SSH: connect to host..." report an error Apr 1, 2024
@Azeral0619
Copy link
Author

I delete my ~/.ssh/config file and it goes well.
Previously the content of this file was a blank line

@microsoft microsoft locked and limited conversation to collaborators May 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

3 participants