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

Updating sshd config for PasswordAuthentication #136

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

balakreddy
Copy link
Contributor

Update /etc/ssh/sshd_config for PasswordAuthentication to yes and restart sshd. Fixes #67

How to use

Testing done

Copy link
Collaborator

@dongsupark dongsupark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for creating the PR.

libazureinit/src/provision/password.rs Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@dongsupark dongsupark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the error type issue seems now resolved.

libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
libazureinit/src/provision/ssh.rs Outdated Show resolved Hide resolved
@dongsupark
Copy link
Collaborator

Thanks, looks good to me.
Can you please rebase?

Update /etc/ssh/sshd_config for PasswordAuthentication
to yes and restart sshd. Fixes Azure#67

Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
@dongsupark
Copy link
Collaborator

Still needs an approval from @jeremycline

Copy link
Contributor

@anhvoms anhvoms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

Copy link
Member

@jeremycline jeremycline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dongsupark dongsupark merged commit 0267ea8 into Azure:main Nov 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libazureinit needs to update the sshd config when it provisions a user with password
5 participants