lilydjwg/pssh

Use pssh as a module rather as a tool

GoogleCodeExporter opened this issue · 4 comments

We are trying to use pssh as a library rather as a tool. We want an improved 
logging facility and less number of files creation while executing pssh 
commands.

I have tried to using psshlib as a module as attached demo code.

I am getting 255 error code while running.

please advise.


Original issue reported on code.google.com by vlnraje...@gmail.com on 11 Mar 2013 at 9:47

Attachments:

Please someone respond to my request, or post queries.

Original comment by vlnraje...@gmail.com on 17 Mar 2013 at 9:28

Sorry--it's been a little busy ere.

So, it looks like this issue is covering a bunch of different things. Would you 
please consider creating a separate issue for each requested feature? For 
example "improved logging facility" and "less number of files creation" don't 
seem to be related issues, and it's not clear what is desired for either of 
them.

With respect to error messages, you might consider using the "inline" option to 
make it print the output and error messages inline, which should help you track 
down the ssh error you're encountering.

Original comment by amcna...@gmail.com on 18 Mar 2013 at 10:05

My intention of this issue creation is, I want to create a project wherein i 
don't want to use pssh as a tool,rather i want to use as a module, I have 
imported psshlib and tried to simulate the code of pssh. I came across issue 
with 255 error code while doing the same.
I have already attached the demo code for your perusal. 
Please guide me to use psshlib as a module rather as a tool pssh.

Original comment by vlnraje...@gmail.com on 19 Mar 2013 at 2:20

Please reread comment #2 above.

Original comment by amcna...@gmail.com on 19 Mar 2013 at 3:52