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

parallel-ssh sometimes redirects stdout to stderr #380

Open
PPPW opened this issue Jun 1, 2023 · 0 comments
Open

parallel-ssh sometimes redirects stdout to stderr #380

PPPW opened this issue Jun 1, 2023 · 0 comments

Comments

@PPPW
Copy link

PPPW commented Jun 1, 2023

For general questions please use the mail group.

Describe the bug
parallel-ssh sometimes redirects stdout to stderr in the output.

To Reproduce
Create a "hostfile" and an example script:

#!/bin/bash
set -ex
echo "Example"

Copy the files to all hosts, then run:

parallel-ssh -i -v -h ~/hostfile bash ~/example.sh 

Expected behavior
Nothing is printed to stderr.

Actual behaviour
We got something in stderr:

[1] 13:52:24 [SUCCESS] host1
Example
Stderr: + echo Example
...

Additional information
This is just one example, we have a few other cases where the stdout of the scripts are redirected to stderr of the parallel-ssh output.

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

No branches or pull requests

1 participant