Question
Validate password less authentication with n number of hosts.
I need to check plenty of servers everyday. because of few servers down or changes happend.. password less authentication is failing on few hosts. I need a command or script to verify that password less authentication is working fine or not on all the servers.
Usually.. I get the server name on all the servers using *ssh -q <servername> uname -a *
If servers are down or key is not working.. my script is getting stuck in the middle. I want to avoid it.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×