This could turn into a trash fire, but I'll keep my fingers crossed. I have a ne...
Paul Hoffman @paulehoffman@infosec.exchange
This could turn into a trash fire, but I'll keep my fingers crossed.
I have a new VM that allows me to SSH to account "a" using a's public key just fine. I have created account "b" for someone who is unlikely to be able to use public keys in the long term, but has a good password. When logged in as "a", I can "su b" and use their password just fine.
There are a million similar-sounding options in /etc/ssh/sshd_config for "allow people to use passwords". The one that was suggested to me didn't work. Further, there are three files in /etc/ssh/sshd_config.d that have instructions that do/don't/might override /etc/ssh/sshd_config.
Is anyone here *sure* they know how to allow password login over SSH, and which file(s) I set it in? I understand this might require setting a few things in multiple files. I am OK with allowing passwords for all users because I will set an absurdly strong password for "a" that I will immediately forget, forcing me to use public key anyhow.
I promise to post the first answer that works. And to keep it in my notes file for such things....