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 }}
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
30. apr. 2019 kl. 02:53 skrev Jon Ayers ***@***.***>:
This is interesting, I imagine you would need this for cases where you have your entire machine firewalled except for the ssh port?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
scp would work for this. Using a ping to coder.com or something similar would be fine to check if egress traffic is allowed, then using the "client" (for lack of a better term) to download the code-server bin and scp it.
I think people using remote servers without a direct internet connection is a pretty limited usecase. Maybe we could add a --no-update flag that prevents the update check, so you could copy code-server to the machine yourself beforehand.
I think not, a lot of big organisations and certainly government institutions have a lot of in-house servers that never are allowed touching the internet. But a script with scp and no-update would do.
I need this feature as well. In response to @deansheather comment about limited usefulness: I've worked in the healthcare industry for over 12 years. Security is a key part of the software development lifecycle and IT portion of healthcare. I've worked for a large non-profit health care organization and an academic medical institution, and having open access to the internet is actually quite rare for any system with health care data. It's very common in health care to allow inbound connections such as SSH/RDP, but prevent outbound Internet access to reduce the likelihood of data exfiltration.
The other common case for security is that authentication at a web proxy is required to gain some outbound Internet access - which as previously mentioned is feature request #74
Made a PR that adds a --code-server-path flag. You can specify a path to a local code-server binary and it will be uploaded instead of the update script being executed.
Activity
sreya commentedon Apr 30, 2019
This is interesting, I imagine you would need this for cases where you have your entire machine firewalled except for the ssh port?
kjetilhp commentedon Apr 30, 2019
teddy-codes commentedon May 7, 2019
scpwould work for this. Using a ping to coder.com or something similar would be fine to check if egress traffic is allowed, then using the "client" (for lack of a better term) to download the code-server bin and scp it.deansheather commentedon Jun 16, 2019
I think people using remote servers without a direct internet connection is a pretty limited usecase. Maybe we could add a
--no-updateflag that prevents the update check, so you could copy code-server to the machine yourself beforehand.kjetilhp commentedon Jun 16, 2019
I think not, a lot of big organisations and certainly government institutions have a lot of in-house servers that never are allowed touching the internet. But a script with scp and no-update would do.
magic-lantern commentedon Jun 17, 2019
I need this feature as well. In response to @deansheather comment about limited usefulness: I've worked in the healthcare industry for over 12 years. Security is a key part of the software development lifecycle and IT portion of healthcare. I've worked for a large non-profit health care organization and an academic medical institution, and having open access to the internet is actually quite rare for any system with health care data. It's very common in health care to allow inbound connections such as SSH/RDP, but prevent outbound Internet access to reduce the likelihood of data exfiltration.
The other common case for security is that authentication at a web proxy is required to gain some outbound Internet access - which as previously mentioned is feature request #74
deansheather commentedon Jun 20, 2019
Seems like I was wrong, maybe this would be a good idea after all.
xgdgsc commentedon Jul 18, 2019
I also find this useful for my use cases in finance industry.
deansheather commentedon Aug 23, 2019
Made a PR that adds a
--code-server-pathflag. You can specify a path to a local code-server binary and it will be uploaded instead of the update script being executed.deansheather commentedon Sep 10, 2019
The flag has been renamed to
--upload-code-server, and has been merged into master. It should work with code-server v2 previews as well! 🎉