Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Debug option to add a password for the core user on startup #3677

Closed
gbraad opened this issue May 23, 2023 · 1 comment
Closed
Assignees

Comments

@gbraad
Copy link
Contributor

gbraad commented May 23, 2023

This allows you to debug the environment in case of an OOM or other crash.
At the moment we only allow the use of the ssh-key to log in, but when the image is memory constrained or otherwise affect by a crash, the sshd process becomes unreachable. This prevents further debugging. I suggest adding a

$ crc config set emergency-login true    # or debug-login

which generates a random password on startup and allows you to login in case of an issue.

@anjannath
Copy link
Member

Done in #3755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants