I just updated VSCode Remote Insider and I can't connect to my host through VSCode anymore.

I tried to uninstall my local VSCode Insider and restart it, but it didn't help. Then, I removed the .vscode-remote-insider directory on my host. However, VSCode remote can't re-install a remote service as the old one is still running. The following is the output from my local VSCode client.

remote-ssh@0.44.0 win32 x64 SSH Resolver called for "ssh-remote", attempt 1 SSH Resolver called for host: 121 Setting up SSH remote "121" Using commit id "c089daa858f34631f5f827ff8a0313bf1e2ded6d" and quality "insider" for server Testing ssh with ssh -V ssh exited with code: 0 Got stderr from ssh: OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4 Install and start server if needed

Installing to /home/***/.vscode-server-insiders/bin/c089daa858f34631f5f827ff8a0313bf1e2ded6d...

Downloading with wget

Download complete

Found running server...

* * Reminder: You may only use this software with Visual Studio family products,

  • as described in the license () *

Server did not start successfully. Full server log >>> <<< End of server log cat: /home//.vscode-server-insiders/.c089daa858f34631f5f827ff8a0313bf1e2ded6d.log: No such file or directory cat: /home//.vscode-server-insiders/.c089daa858f34631f5f827ff8a0313bf1e2ded6d.log: No such file or directory cat: /home/***/.vscode-server-insiders/.c089daa858f34631f5f827ff8a0313bf1e2ded6d.log: No such file or directory

"install" terminal command done Received install output: cat: /home/***/.vscode-server-insiders/.c089daa858f34631f5f827ff8a0313bf1e2ded6d.log: No such file or directory Failed to parse remote port from server output: cat: /home/shawnguo/.vscode-server-insiders/.c089daa858f34631f5f827ff8a0313bf1e2ded6d.log: No such file or directory

The biggest trouble is that I can't kill the processes of VSCode on my host as they could alwayd produce a new process when the old one is killed.

2 Answers

Try to kill vs code-remote host through the command after pressing ctrl + shift + p and enter

Remote-SSH: kill VS Code Server on Host... 

Then choose your host

It works for me just killing the process called "node":

 killall node 

Of course, it's not a perfect solution, just a work around.

4