I have a cluster of 50 machines and some machines already have ssh automatic login setup but I want to be able to check this with a script. Is there a command that help me do this.
list="host1 host2 host3";for host in list;do
echo -n $host" ";ssh -o PasswordAuthentication=no user@$host;
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
3 years ago