vs code remote ssh: Resolver error: Error: Got bad result from install script

Today, as usual, I opened Windows 11 and used vs code to remotely connect to the server Ubuntu 20, but I encountered an error: Resolver error: Error: Got bad result from install script.
OK! ! ! Start Bing! ! !
According to the CSDN blog entries given, I tried one by one, but it didn't work.
Start trying github. With the help of github https://github.com/microsoft/vscode-remote-release/issues/5693 , it was successfully solved.


His solution, delete both registries:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun

  1. Win + REnter regeditto open the registry
    insert image description here

  2. Check whether AutoRunfiles exist in the two paths below respectively. If there is, just delete it.

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
  1. Restart vs code. Remote ssh again. OK, perfect solution.

Guess you like

Origin blog.csdn.net/Snakehj/article/details/132173077