Code Monkey home page Code Monkey logo

Comments (10)

kjetilhp avatar kjetilhp commented on July 29, 2024 1

from sshcode.

deansheather avatar deansheather commented on July 29, 2024 1

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! 🎉

from sshcode.

sreya avatar sreya commented on July 29, 2024

This is interesting, I imagine you would need this for cases where you have your entire machine firewalled except for the ssh port?

from sshcode.

teddy-codes avatar teddy-codes commented on July 29, 2024

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.

from sshcode.

deansheather avatar deansheather commented on July 29, 2024

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.

from sshcode.

kjetilhp avatar kjetilhp commented on July 29, 2024

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.

from sshcode.

magic-lantern avatar magic-lantern commented on July 29, 2024

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

from sshcode.

deansheather avatar deansheather commented on July 29, 2024

Seems like I was wrong, maybe this would be a good idea after all.

from sshcode.

xgdgsc avatar xgdgsc commented on July 29, 2024

I also find this useful for my use cases in finance industry.

from sshcode.

deansheather avatar deansheather commented on July 29, 2024

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.

from sshcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.