How to Enable Password Authentication in Lima VM and Configure SSH MFA? #4655
Unanswered
alehholiveira
asked this question in
Q&A
Replies: 1 comment
-
|
I can't reproduce this, the ssh login prompts for a password:
The default ssh config has some incompatible options, though... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am working with a fresh Lima VM (Ubuntu-lts) and I am trying to enable password-based SSH authentication instead of relying exclusively on the default SSH key provisioning.
Context
passwd./etc/ssh/sshd_config.d/60-cloudimg-settings.confto:passwd -SshowsP).However, SSH login with password still fails:
When I force:
The connection is denied without prompting for a password.
Questions
Additional Goal: Enabling MFA
My final objective is not just password authentication, but enabling SSH access with MFA (e.g., password + TOTP using
libpam-google-authenticatoror similar).So specifically:
lima.yamlor cloud-init)?Any clarification on the intended authentication model and best practices would be appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions