lapapaye / parallel-ssh

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

Ability to only show stdout in pssh -i #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use pssh -i

What is the expected output? What do you see instead?

It would be useful if one could specify to only output the stdout when using 
-i, instead of the aggregate output. I propose naming this option 
--inline-stdout

This would help avoid two scenarios with spurious output:

1. On hosts where I don't have a $HOME,  when I log in, ssh complains like so:
  "Could not chdir to home directory /home/.....: No such file or directory"

2. ssh banners, which are output through stderr.

What version of the product are you using? On what operating system?

I'm using 2.1.1 as packaged in Debian.
AFAICS in the git repo, this is still the case for 2.2.2

Please provide any additional information below.

Original issue reported on code.google.com by pablo.ba...@gmail.com on 2 Sep 2011 at 10:43

GoogleCodeExporter commented 8 years ago
This is a Enhancement rather than a bug, but the UI only allows Defects

Original comment by pablo.ba...@gmail.com on 2 Sep 2011 at 10:45

GoogleCodeExporter commented 8 years ago
This is a pretty easy feature. patch attached.

Original comment by pablo.ba...@gmail.com on 2 Sep 2011 at 11:17

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry for not getting back to you on this sooner. For some reason this feature 
makes me a bit uncomfortable, but I can't really explain why. As I think more 
about it, though, it seems like a reasonable request.

Original comment by amcna...@gmail.com on 19 Jan 2012 at 11:32

GoogleCodeExporter commented 8 years ago
This is now applied as commit 69cf2ed. Let me know if you see any problems. 
Thanks for the patch.

Original comment by amcna...@gmail.com on 19 Jan 2012 at 11:38