Hi
When I follow the steps in the guided exercise I am fine until the one where I set
PasswordAuthentication no
and reload it. When I then try for part 9.2
I do not get permission denied. And the same on the review for part 7.2 when I try
I do not get a permission denied.
I have checked the files and tried reloading and restarting sshd. But it still shows the password prompt. Can you please advise on whether there is an error in the instructions or something I can do to see why sshd is not picking up that setting?
systemctl status sshd.service shows that it was reloaded.
The /etc/sshd_config.d/50-cloud-init.conf file also has "PasswordAuthentication yes".
You need to remove it from there as well. Just got hit with that, use this to verify the running config of sshd:
sshd -T | grep Password
The /etc/sshd_config.d/50-cloud-init.conf file also has "PasswordAuthentication yes".
You need to remove it from there as well. Just got hit with that, use this to verify the running config of sshd:
sshd -T | grep Password
The worst part about this is nowhere in the course material does it mention this file, yet they expect you to know it to pass the exam...
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.