wotwot / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to only show stdout in pssh -i

GoogleCodeExporter opened this issue · comments

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

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

  • Added labels: ****
  • Removed labels: ****
This is a pretty easy feature. patch attached.

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

  • Added labels: ****
  • Removed labels: ****

Attachments:

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

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect
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

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****