Hi,
Remote develop is really an exciting feature for vscode, but there is still a little work to be improved I think, that is configure / download on remote by ssh connection. This is really needed for some server behind a firewall.
So, current steps are:
And these may be better:
// end
Thanks
This is very important issue. We can not work with this at all. All our servers are hosted in isolated network. Those servers does not have access to the Internet. The manual installation can be performed or deliver package from developer workstation.
Can you add an option to manually disable this update process at least? We want to check new extension and help making it stable.
I tried to use Remote SSH on a local server. The server doesn't have Internet access for security reasons.
A Remote SSH job tries to download VS Code Server through wget, but it fails because there's no Internet connection.
PyCharm doesn't have this issue because the "server" part gets uploaded by the client and it's not downloaded from the Internet.
Can you provide a procedure to upload the required VS Code Server through the VS Code client instead of relying on the server's Internet connection? Internet access for the server should not be mandatory.
Thank you.
Isn't this a duplicate of https://github.com/microsoft/vscode-remote-release/issues/15, which was opened 4 days before this?
In #15 the local machine has no connectivity either. Also this one better
describes possible solutions. But, they are closely related indeed.
On Sat, 11 May 2019, 14:19 Tobias Hernstig, notifications@github.com
wrote:
Isn't this a duplicate of #15
https://github.com/microsoft/vscode-remote-release/issues/15, which was
opened 4 days before this?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-remote-release/issues/161#issuecomment-491506400,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVE4GONDF4RXJR6OPXBMSDPU22V7ANCNFSM4HK42DFA
.
I need this too.
Same for me, no internet connection on remote machine but on client one. There is also no root/sudoer user on remote.
Also struggling with this.
It would probably be enough if there were documented steps for manually performing the installation on the server with a zip file.
I also would love to have this feature - some remote servers I work with have no outbound Internet access. It would be great if there were a configuration option to download all necessary files via my local Internet and push to remote server via SSH, then install there.
Manual instructions would also work, but ideally the Remote-SSH tool would handle everything for the user.
Isn't it possible in the meantime to do a manual install of the needed components ?
retrieve files from desktop machine, copy to remote server and deploy them in the expected location.
Could you provide some hints in the faq.
I can help for the faq article if someone gives me some hints in order to make it work
I know that Microsoft wants everyone to work in the cloud and if possible Azure, but it's not possible for many reasons.
This request is legitimate for many developers, but seems poorly taken into account in products like VSCode or VisualStudio.
It is currently a brake on the massive adoption of these products which, I admit, are very functional as long as we stay connected.
I create #738 requesting the extension utilize a system installed vscode server, which would be a much cleaner solution and more enterprise-friendly.
We are also in VERY high demand of being able to perform the necessary tooling install without internet access.
This is a common theme among larger companies especially in the aerospace industry, where vital lab assets are blocked for security reasons from receiving outside internet access.
Is there any possible work around to make this happen? Any future insight on when a local standalone installation package could become available for the server side remoting tools?
We love the VS Code ecosystem and would love to stay there, but are limited in our remote development capabilities until a stand alone installer is produced.
Thanks much.
From a user perspective, we don' t want to bother system administrators just for installing/updating an editor. I want everything installed inside my home.
imo there should be 2x client side config options.
ssh -R port is used to create dynamic socks proxy on host and reverse forwarded to server and server uses .js functionality to reproduce wget through the socks proxyas a work around I have done the following:
Desktop ~/.ssh/config
...
Host *
RemoteForward 54321
...
Remote: ~/bin/wget in which ~/bin is added to PATH via .bashrc
#!/bin/bash
export LD_LIBRARY_PATH=$HOME/opt/lib/tsocks/
export TSOCKS_CONF_FILE=$HOME/opt/tsocks/tsocks.conf
$HOME/bin/tsocks /usr/bin/wget $@
Remote: ~/opt/tsocks/tsocks.conf
server = 127.0.0.1
server_port = 54321
server_type = 5
note tsocks binary has been scp-ed to ~/bin/tsocks and ~/opt/tsocks/ has been created with libtsocks.so which is normally stored in /usr/lib64/libtsocks.so
This is a work around that allows me to have wget functionality with out messing with anything outside my profile to get it to work (eg: no root required ... even though I have it).
This is key. Many remote servers are firewalled.
And another difference to pycharm is , _remote-ssh in pycharm could remote into a docker container ,but vscode could not._
And another difference to pycharm is , remote-ssh in pycharm could remote into a docker container ,but vscode could not.
@bro3cat This is off topic for this issue, but check out the Remote - Containers extension for that capability. See here for details on connecting to a remote docker host if that's what you are looking to do. Please open a separate issue if you're hitting problems so we can take a look. VS Code can connect to containers, the issue here is specifically that VS Code requires that the container or SSH host have access to the internet to do so.
Same for me, remote server does not have internet connection due to security reason.
subscribed, this would make our lives so much easier developing services that run on remote hosts. Until then, we can't use this application
This is a needed feature for enterprise development!
subscribed, this would make our lives so much easier developing services that run on remote hosts. Until then, we can't use this application
see my previous comment for temp work around
https://github.com/microsoft/vscode-remote-release/issues/161#issuecomment-513020780
If you can't get @caffeineaddiction's fix working #161 comment, another workaround was posted on stackoverflow by aviso. It was easy for me to get the stackoverflow solution working, but I suspect it will be a bit more of a pain in the long run than the tsocks method here due to vscode/extension updates likely needing manual intervention if not disabled. I just couldn't get tsocks up and running, so it was nice to have a second option.
@roblourens Wouldn't the setting added for #15 resolve this as well?
Yes, I think it's a duplicate.
Please try installing the nightly version of the ssh extension, then setting "remote.SSH.allowLocalServerDownload": true. This should cause it to download the extension on your local machine then copy it over to the host via scp. Please file issues if you have any problems.
"remote.SSH.allowLocalServerDownload": true is working nicely !
Thanks a lot!!
Most helpful comment
This is very important issue. We can not work with this at all. All our servers are hosted in isolated network. Those servers does not have access to the Internet. The manual installation can be performed or deliver package from developer workstation.
Can you add an option to manually disable this update process at least? We want to check new extension and help making it stable.