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

SSH error when using alias groups in remote commands #5334

Open
PieterT2000 opened this issue Jan 8, 2020 · 0 comments
Open

SSH error when using alias groups in remote commands #5334

PieterT2000 opened this issue Jan 8, 2020 · 0 comments

Comments

@PieterT2000
Copy link

@PieterT2000 PieterT2000 commented Jan 8, 2020

Bug Report

Describe the current, buggy behavior

When I run a command against multiple aliases using the group alias @clients, I get the following error:
ssh is not recognized as an internal or external command, operable program or batch file. (see attachment)
error

The weird thing though is that when I run a command with just an regular alias, like wp @client_name core update, everything works fine. Besides, everything is just set up accordingly to the documentation in the config.yml file.

Describe what you expect as the correct outcome

The command should just run against all the listed aliased in the group @clients.

@clients:
  - @client1
  - @client2
  - @client3

(Paste the output of "wp cli info" into this box)

Shell:  C:\Program Files\Git\usr\bin\bash.exe
PHP binary:     C:\xampp\php\php.exe
PHP version:    7.3.2
php.ini used:   C:\xampp\php\php.ini
WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:      phar://wp-cli.phar/vendor
WP_CLI phar path:       C:\Users\Pieter
WP-CLI packages dir:
WP-CLI global config:   C:\Users\Pieter/.wp-cli/config.yml
WP-CLI project config:
WP-CLI version: 2.4.0```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.