0

the follwing pssh command do a parallel as date

pssh -i -H "master01 master02 master03 worker01 worker02"  -l root -x '-q -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes' date | grep -v "^\["
Fri Jul 12 12:37:35 UTC 2019
Fri Jul 12 12:37:35 UTC 2019
Fri Jul 12 12:37:35 UTC 2019
Fri Jul 12 12:37:35 UTC 2019
Fri Jul 12 12:37:35 UTC 2019

but we notice that the password for the machines not defined so how pssh do the ssh activities without password ?

  • Can you provided more information on how your SSH server is configured? – Lucas Ramage Jul 12 at 12:46
  • some of the servers have the public keys and some no , the servers that no have public keys return to pssh the right value , so pssh can works with servers that public keys was sent and servers without public keys – yael Jul 12 at 12:51
  • Do you know if server is configured as keyless ssh? – Vivek Kanadiya Jul 12 at 13:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.