Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pssh cannot be used from a script? #4

Closed
GoogleCodeExporter opened this issue Sep 1, 2015 · 3 comments
Closed

pssh cannot be used from a script? #4

GoogleCodeExporter opened this issue Sep 1, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant