lapapaye / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

pssh cannot be used from a script? #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A simple execution of pssh "hangs" when run from a script. PS shows the
following"

\_ sshd: soham [priv]
   \_ sshd: soham@pts/1
       \_ -bash
           \_ -bash
              \_ /usr/bin/python /usr/bin/pssh -h blah -P -t 5 uptime

Original issue reported on code.google.com by soham.me...@gmail.com on 27 Oct 2009 at 3:03

GoogleCodeExporter commented 8 years ago
In the ml they stated that it is fixed with pssh2, and  to redirect stdin to
/dev/null helps.

pssh -h ... < /dev/null

Original comment by sven.ste...@gmail.com on 16 Nov 2009 at 2:21

GoogleCodeExporter commented 8 years ago
soham.mehta, have you been able to verify that this is fixed in pssh2?  If it 
doesn't 
work in pssh2 either, would you attach a script that makes it hang?  I've used 
pssh 
from various sorts of scripts without having any problems, so it would be 
helpful to 
have a more specific reproducing case.  Thanks.

Original comment by amcna...@gmail.com on 16 Feb 2010 at 8:40

GoogleCodeExporter commented 8 years ago
I'm going to mark this as closed, since this appears to be a problem with a pre 
2.0 
version.  If you run into this problem again, please reopen the bug.  Thanks 
for your 
participation with PSSH.

Original comment by amcna...@gmail.com on 19 Feb 2010 at 7:02