You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support VSCode Remote Server offline package. #1802
It's perfect when linking the Internet. It made me tied,When I have a environment for develop of apps on GNU/Linux, that is a sandbox offline with the Internet. My windows is offline as a sandbox also. I have to modify the extensions, and try to find the numbers of vscode remote server in the insider version. When I put the remote-server package to $HOME/.vscode-server, it runs uncompletely. RSA key is not effective on Remote.
For what I want, vscode-server (offline) is supported as VSCode. I can install them as a software suits,which has a client and server. Thank you for your pleasure.
Reacted by Mike Powers, Seyyed Hossein Hasanpour, jmnote, Ahmedul Haque Abid, mihailik, danilvoe, mervynsimzr, Peng Xiao, Kun Ren, Bas van den Brink and 11 more
Just stumbled across this. Currently sitting in a coffee shop with horrible internet and cannot start VS Code with Remote WSL since it tries to download the server and fails after some time.
A fallback to an older "already downloaded" version or something similar would be a life saver.
Reacted by Alexander Kondratskiy, Sergey and Brendan Burkhart
Just stumbled across this. Currently sitting in a coffee shop with horrible internet and cannot start VS Code with Remote WSL since it tries to download the server and fails after some time.
A fallback to an older "already downloaded" version or something similar would be a life saver.
Emm, it's same of #1242 but more. Not only offline client, but offlice server also. I'can make my machine linking all the time and more docker and virtual machines was created when offline.
It would be great if there was the ability to transfer the required software from the connecting client to the remove host. Particularly useful for air gapped environments where the client could be pre-seeded with the dependencies before connection.
Reacted by Seyyed Hossein Hasanpour, Ross Smith and Alexander Kondratskiy
+1 for me too, exactly the same thing, using remote SSH in an offline environment. + 6 for my colleagues who will complain at me about this but won't bother to write a short note asking for help.
+1 for support of remote shh + docker + offline vscode extension support. We want to use a server which is not connected to the internet to develop applications, because it has 80 cores and is connected to special hardware.
on remote host you want to connect to:
mkdir -p ~/.vscode-server/bin/${commit_id}
assuming that you upload vscode-server-linux-x64.tar.gz to /tmp dir
tar zxvf /tmp/vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1
touch ~/.vscode-server/bin/${commit_id}/0
your directory should look like this:
user@server$ pwd
/home/user/.vscode-server/bin/${commit_id}
user@server$ ls
0 bin node out product.json
LICENSE extensions node_modules package.json server.sh
The ‘0’ file is important – will mark that the server was “downloaded” and the client will use it instead of redownloading.
It is quite ridiculous that even though I have connected to the same Docker container hundreds of times before and should presumably have a cached copy of the VSCode server locally, I cannot connect to it when offline. The fact that I need an internet connection for something that is entirely local is mind boggling.
If I am on the go, in an airplane, or in a cafe and don't want to use the public Wifi, tools should work without a constant internet connection.
Please please fix this, this is embarassing!
Reacted by Guntis Šusts, sciafri, Alexander Kondratskiy, Sun Xuan, James Goodall, adawg and Brendan Burkhart
on remote host you want to connect to: mkdir -p ~/.vscode-server/bin/${commit_id}assuming that you upload vscode-server-linux-x64.tar.gz to /tmp dir tar zxvf /tmp/vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1 touch ~/.vscode-server/bin/${commit_id}/0 your directory should look like this: user@server$ pwd /home/user/.vscode-server/bin/${commit_id}user@server$ ls 0 bin node out product.json LICENSE extensions node_modules package.json server.sh
The ‘0’ file is important – will mark that the server was “downloaded” and the client will use it instead of redownloading.
This doesn't work anymore with latest release. Here is another workaround but I didn't succeed.
+1 for this.
Both the workstation and the target server are offline.
Digging through the internet and guessing at the VSIX name makes it possible to install the extension on the workstation (why not just provide a vsix link???).
The very cumbersome steps with downloading vscode-server-linux.tar.gz and vscode-cli-alpine.tar.gz are a huge mess, and they don't seem to work half the time, even with doing some nonsense about touching .done files.
There MUST be a simpler way to get the ssh extension working in an airgapped environment!!
Even when I unzip the necessary files with the correct commit hash to ~/.vscode-server on the offline target system, the very first thing that vscode does is delete it and then try to download it from the internet, no matter what remote.SSH.localServerDownload is set to.
This whole process cannot possibly be as annoying as it seems..
Activity
chrmarti commentedon Nov 8, 2019
Is this for SSH, Docker or WSL?
LaurentLesle commentedon Nov 11, 2019
Docker and SSH would be great.
IgnusG commentedon Nov 20, 2019
Just stumbled across this. Currently sitting in a coffee shop with horrible internet and cannot start VS Code with Remote WSL since it tries to download the server and fails after some time.
A fallback to an older "already downloaded" version or something similar would be a life saver.
Phelexand commentedon Nov 27, 2019
Phelexand commentedon Nov 27, 2019
Emm, it's same of #1242 but more. Not only offline client, but offlice server also. I'can make my machine linking all the time and more docker and virtual machines was created when offline.
MAHDTech commentedon Dec 22, 2019
+1 for SSH & Docker support offline.
It would be great if there was the ability to transfer the required software from the connecting client to the remove host. Particularly useful for air gapped environments where the client could be pre-seeded with the dependencies before connection.
Perseid commentedon Jan 5, 2020
I also have the use case of an air gapped network with no internet connection. I am connecting from one machine in the air gapped network to another via SSH.
I would propose the approach the C++ extension has taken of having additional releases with all the otherwise downloaded binaries bundled in a single vsix: https://github.com/microsoft/vscode-cpptools/releases
avivdolev commentedon Feb 26, 2020
Hi,
I think this issue is similar to #1399 and #1242
Any chance to see this feature in near releases?
Thanks!
Phelexand commentedon Mar 1, 2020
no more, thanks.
haherhohu commentedon Jun 17, 2020
+1 for SSH support offline.
I'm working in intranet-base environment.
Then, I can't download remote-server packages...
jheaff1 commentedon Sep 14, 2020
+1 for fully offline Remote (SSH, Docker) support
amazingmo commentedon Sep 23, 2020
+1 for me too, exactly the same thing, using remote SSH in an offline environment. + 6 for my colleagues who will complain at me about this but won't bother to write a short note asking for help.
BassTester commentedon Mar 17, 2021
+1, no easy way to set this up in intranet setting
tabarnakos commentedon Mar 29, 2022
+1 for support of remote shh + docker + offline vscode extension support. We want to use a server which is not connected to the internet to develop applications, because it has 80 cores and is connected to special hardware.
BassTester commentedon Mar 29, 2022
Here's the workaround we've used to get this working without internet.
To download the server:
wget https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
on remote host you want to connect to:
mkdir -p ~/.vscode-server/bin/${commit_id}
assuming that you upload vscode-server-linux-x64.tar.gz to /tmp dir
tar zxvf /tmp/vscode-server-linux-x64.tar.gz -C ~/.vscode-server/bin/${commit_id} --strip 1
touch ~/.vscode-server/bin/${commit_id}/0
your directory should look like this:
user@server$ pwd
/home/user/.vscode-server/bin/${commit_id}
user@server$ ls
0 bin node out product.json
LICENSE extensions node_modules package.json server.sh
The ‘0’ file is important – will mark that the server was “downloaded” and the client will use it instead of redownloading.
roblourens commentedon Dec 17, 2022
For SSH, connecting to an offline host should work, and for an offline client, there is this issue: #1242
KholdStare commentedon Sep 26, 2023
It is quite ridiculous that even though I have connected to the same Docker container hundreds of times before and should presumably have a cached copy of the VSCode server locally, I cannot connect to it when offline. The fact that I need an internet connection for something that is entirely local is mind boggling.
If I am on the go, in an airplane, or in a cafe and don't want to use the public Wifi, tools should work without a constant internet connection.
Please please fix this, this is embarassing!
SunXuan90 commentedon Jan 18, 2024
This doesn't work anymore with latest release. Here is another workaround but I didn't succeed.
mboeker commentedon Feb 2, 2026
+1 for this.
Both the workstation and the target server are offline.
Digging through the internet and guessing at the VSIX name makes it possible to install the extension on the workstation (why not just provide a vsix link???).
The very cumbersome steps with downloading vscode-server-linux.tar.gz and vscode-cli-alpine.tar.gz are a huge mess, and they don't seem to work half the time, even with doing some nonsense about touching .done files.
There MUST be a simpler way to get the ssh extension working in an airgapped environment!!
mboeker commentedon Feb 2, 2026
Even when I unzip the necessary files with the correct commit hash to ~/.vscode-server on the offline target system, the very first thing that vscode does is delete it and then try to download it from the internet, no matter what
remote.SSH.localServerDownloadis set to.This whole process cannot possibly be as annoying as it seems..