Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the VSCode window that's being used for remote SSH, press Ctrl+Shift+P (on PC) or ⇧⌘P (on MacOS), type the command "kill vs code server on host"

Code Block
languagebash
themeEmacs
kill vs code server on host

and then choose the host from the drop-down.

...

The server process binary and its associated files and cache usually are in the $HOME/.vscode-server/bin directory. Get rid of all the vscode-server files by running the following command on the remote server from an ordinary SSH terminal window:




Code Block
languagebash
themeEmacs
rm -rf $HOME/.vscode-server




The next time the VSCode client is used to remotely connect, it should re-install the vscode-server files and provide a working session.

...