...
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 | ||||
---|---|---|---|---|
| ||||
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 | ||||
---|---|---|---|---|
| ||||
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.
...