Skip to main content
3 of 3
deleted 2 characters in body; edited title
muru
  • 77.9k
  • 16
  • 212
  • 318

How pssh do the ssh activities without password

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 ?

yael
  • 14k
  • 72
  • 220
  • 377