100 Days of devops - Day 3

I’m unable to complete the day 3 task because of this error.

- 'root' login is not disabled on App Server 1

I have done twice and it fails both times.
I have attached the screenshot of how i did it for reference.

Here are the steps I followed.
App server 1:
ssh tony@stapp01
etc/ssh/sshd_config
changed to PermitRootLogin no

Finally restart the service
sudo systemctl restart sshd

Did you restart sshd?

1 Like

Yes I did by calling sudo systemctl restart sshd

Hi @dlakmalb

I’ve just checked it and it’s worked properly from my end, please ensure that you have updated all app servers.

1 Like

Thanks for the reply @raymond.baoly

I did the changes for all the 3 servers.

  1. ssh tony@stapp01
  2. ssh steve@stapp02
  3. ssh banner@stapp03

Is there a way to review my task again?

BTW it worked. I followed the same steps which i did before. Thank you @Srikanth_Reddy and @raymond.baoly.

i found this : 100-Days-Of-DevOps-KodeKloud-Challenges-Solutions