lilydjwg / pssh

Parallel SSH Tools
Other
277 stars 64 forks source link

Sudo with PSSH #125

Closed saisro closed 3 years ago

saisro commented 3 years ago

Hello,

I tried this : echo | ./pssh -l -H -i -A sudo -S ls /etc

and it doesn't work, it said : sudo : no password was provided. With SSH (echo | ssh user>@<IP sudo -S ls /etc), there is no problem, do you have a solution?

Thanks

saisro commented 3 years ago

the "-I" option solved the problem.