security: disable password auth for root and ubuntu#2161
Merged
Conversation
This prevents the users from being logged into except by SSH public key authentication.
2d7bdf9 to
7ec9857
Compare
7ec9857 to
2ab30c5
Compare
darora
approved these changes
May 21, 2026
3f44354 to
2ab30c5
Compare
samrose
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Fixes KUBEINT-203.
This prevents the users from being logged into except by SSH public key
authentication.
It also explicitly disables password/challenge response auth for SSH.
What is the current behavior?
The passwords used in
user-data-cloudimgare persisted in every qemu image.SSHd configuration has the default (i.e. challenge response and password auth disabled)
What is the new behavior?
The passwords are now set to '*'. We also uncomment/explicitly disable challenge response and SSH password auth.
Additional context