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

Closed
PPPW opened this issue Jun 1, 2023 · 1 comment
Closed

parallel-ssh sometimes redirects stdout to stderr #380

PPPW opened this issue Jun 1, 2023 · 1 comment

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.

@pkittenis
Copy link
Member

Hi there,

Thanks for the interest.

That is a different project not related to this SSH library.

@ParallelSSH ParallelSSH locked as resolved and limited conversation to collaborators Jan 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants