A way to remote connect to an old Linux system using the latest (1.86) VSCode desktop.
- Open VSCode Remote SSH and connect to the old Linux device once. Once you see the message "Waiting for server log...", you can close the VSCode window.
- SSH into the old Linux device and execute the patch script:
wget -O - https://raw.githubusercontent.com/rectcircle/patch-vscode-1-86-for-old-linux/master/patch.sh | sudo bash -s $(whoami)
- Retry opening VSCode Remote SSH again and reconnect to the old Linux device.
In case you experience network issues.
-
Open VSCode Remote SSH and connect to the old Linux device once. Once you see the message "Waiting for server log...", you can close the VSCode window.
-
SCP the
patch-vscode-1-86-for-old-linux.tar.gz
to old linux device. -
Unpack it.
# use root exec
mkdir -p /opt/patch-vscode-1-86-for-old-linux
tar -zxvf patch-vscode-1-86-for-old-linux.tar.gz -C /opt/patch-vscode-1-86-for-old-linux
-
vi patch.sh
and pates rectcircle/patch-vscode-1-86-for-old-linux/patch.sh script. -
Exec
bash patch.sh <username>
. -
Retry opening VSCode Remote SSH again and reconnect to the old Linux device.