Disable root login ssh

done with proper steps !! still showing the failed in app server 1
@Inderpreet can you please go through my last task and update me if incase went with any wrong step

PermitRootLogin no (uncomment)
service sshd restart

Hi @ravirockyravindra

Just reviewed your answer and found that on App Server 1 you tried to restart sshd service at least twice but it always failed to restart due to some reason. You must have to restart the service to take your changes into effect. I hope it clarifies why your task was marked as failed.