Export to GitHub

parallel-ssh - issue #53

issue.net


Posted on Jul 18, 2011 by Helpful Dog

What steps will reproduce the problem? 1. Add a SSH banner not null 2. 3.

What is the expected output? What do you see instead? The error log display the banner, is this normal?

What version of the product are you using? On what operating system? On Debian squeeze: 2.1.1-1

Please provide any additional information below.

Comment #1

Posted on Jul 18, 2011 by Happy Camel

I'm afraid I don't understand. Would you please provide more information?

Comment #2

Posted on Jul 18, 2011 by Helpful Dog

Comment deleted

Comment #3

Posted on Jul 18, 2011 by Helpful Dog

Hi,

Sorry for not being clear.

Here is the situation: I have setup my servers with a banner SSH (Option Banner in sshd_config). I am trying to use pssh and when I use the option -e error_dir, in the error log the banner is showing in it; this means the error log size is not 0. So I wonder if it is possible to by pass this small inconvenient?

It is not a big deal just a question.

Regards, JM

Comment #4

Posted on Jul 18, 2011 by Happy Camel

Unfortunately, pssh doesn't have any way of knowing what's part of the ssh banner and what isn't. All it can differentiate is whether ssh is writing to standard output or standard error. Is there an ssh option to omit the banner? If you're trying to get at the return code for each command (to determine whether or not there was an error), you can parse the output of pssh. Or perhaps we could consider adding an option to write all of the error codes to a file or directory.

Comment #5

Posted on Jul 18, 2011 by Helpful Dog

Thx for answering :)

Comment #6

Posted on Sep 2, 2011 by Grumpy Rabbit

Issue #57 would make this less of a problem if you are not interested at all in stderr.

Comment #7

Posted on Jan 19, 2012 by Happy Camel

I've applied pablo.barbachano's patch for Issue #57, which lets you use --inline-stdout if you don't care about stderr. Does this address your concerns, or is there anything further that pssh could do?

Comment #8

Posted on Jan 24, 2012 by Happy Camel

I'm going to go ahead and close this issue for now, but feel free to reopen it if you feel that there is anything else that should be considered. Thanks for your participation with pssh.

Status: Done

Labels:
Type-Defect Priority-Medium