h3idan/parallel-ssh

pssh cannot be used from a script?

Closed this issue · 3 comments

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

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

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

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

  • Changed state: Invalid