Disable Root Login task failed

Hello,

I have edited the ssh_config file and added “PermitRootLogin no” and restarted the sshd deamon, but the task is marked as failure. Can someone check and help me on this.

Thanks
Prudvi
pavan.bilakanti@gmail.com

Hi @Prudvi

Just reviewed your answer and found that the changes you made are in ssh_config file which is basically the client config, you must had made changes in sshd_config file instead.

Better luck for next task :slight_smile:

Thanks
Inderpreet

Hi, even though I made everything right my task failed kindly look into it.

(upload://gV3t2SN1laQPLdmFILJsK92xZeC.png)