We have the centralized server which has passwordless SSH configured to access other Linux servers within our environment. The issue we are facing is that when we disable root direct console access on Linux servers then passwordless SSH doesn't work. It asks for the password.
Is there any workaround for this so our passwordless SSH works with the disabled direct console root login. The following file is where I am adding the no option.
/etc/ssh/sshd_config:
PermitRootLogin no
root
from the central server. Use a non privileged user for the ssh connections and thensudo
for the specific privileged tasks you need to run.