The -I/--send-input option may be what you're looking for. From the man
page:
"""Read input and send to each ssh process. Since ssh allows a
command script to be sent on standard input, the -I option may be used
in lieu of the command argument."""
Your example would become:
pssh -h hosts.txt -o ~/prj/output -I < ~/prj/test.sh
Let us know if it works for you.
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
Your font might be the issue. :) That should be a capital letter i, not
a lower-case L. It's an easy mistake with a bad font. :)
Hi,
--
---
You received this message because you are subscribed to the Google Groups "parallel-ssh" group.
To unsubscribe from this group and stop receiving emails from it, send an email to parallel-ssh...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.