Disable Root Login - Task Failure

Hello Team,

I’ve made changes in ssh_config file for all the 3 app servers. Task passed for app 2 and 3 but failed for app 1. Can someone please check on this.

@Ritsu

The only trick here is once you update “PermitRootLogin no” in sshd_config file, you have to restart sshd service to make the changes effective. You might have missed to restart sshd service or update config in app1 server. Check if you have any screenshots with you.

Thanks,
Ram

2 Likes

Thanks Ram for clarifying.