Coder Social home page Coder Social logo

Comments (8)

grembo avatar grembo commented on August 12, 2024

Using a default well-known password to access root over the public internet is a terrible solution that might lead to severe data leaks and that might put those responsible in jail. Hence the decision to not allow this to happen.

Are you sure that using an ssh key is a problem to you (like, creating a temporary one is a one-liner, placing one you’ll always use on a public endpoint is equally simple). Would creating one automatically help you?

An alternative solution would be to create a random password on each invocation of the script and alter it to make use of that. We could also add a command line parameter to set a password in addition to an ssh key. A fixed default root password over ssh is an absolute no-go.

In all honesty, I fail to see rationale for “I need to use password access to mfsbsd”. So maybe you can elaborate a bit more on that need to make me understand your use case.

from depenguin-run.

grembo avatar grembo commented on August 12, 2024

p.s. you can always just use -m URL to use vanilla mfsbsd with a default root password, so you (and everyone else ;) ) can access your server with well-known credentials.

from depenguin-run.

click0 avatar click0 commented on August 12, 2024

p.s. you can always just use -m URL to use vanilla mfsbsd with a default root password, so you (and everyone else ;) ) can access your server with well-known credentials.

In this place there is a mandatory check for the presence of a ssh key.

from depenguin-run.

grembo avatar grembo commented on August 12, 2024

Not really, you just need to pass in some random non-empty file.

One simple solution would be to remove the need for passing in any ssh authorized keys files if -m URL is given - would that solve your problem?

from depenguin-run.

click0 avatar click0 commented on August 12, 2024

Not really, you just need to pass in some random non-empty file.

One simple solution would be to remove the need for passing in any ssh authorized keys files if -m URL is given - would that solve your problem?

Using ssh keys to access the Live CD should be optional.

Running qemu i am planning to do one thing:

  1. automatically fix the current OS
  2. fix the current OS manually (via ssh or VNC)
  3. install a new OS (FreeBSD) with your install script.
  4. install another OS (not FreeBSD) with your installation script.

from depenguin-run.

grembo avatar grembo commented on August 12, 2024

Not really, you just need to pass in some random non-empty file.
One simple solution would be to remove the need for passing in any ssh authorized keys files if -m URL is given - would that solve your problem?

Using ssh keys to access the Live CD should be optional.

Running qemu i am planning to do one thing:

  1. automatically fix the current OS
  2. fix the current OS manually (via ssh or VNC)
  3. install a new OS (FreeBSD) with your install script.
  4. install another OS (not FreeBSD) with your installation script.

So will #18 cut it for you? Or do we need something more explicit?

An alternative would be to create keys automatically and store them in a well-known place on the server, so you can simply use them with whatever automation you're planning to use.

from depenguin-run.

click0 avatar click0 commented on August 12, 2024

So will #18 cut it for you? Or do we need something more explicit?

Your commit is enough for me.

from depenguin-run.

grembo avatar grembo commented on August 12, 2024

So will #18 cut it for you? Or do we need something more explicit?

Your commit is enough for me.

That sounds like a line from Casablanca ;)

from depenguin-run.

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.