8000 SSH error when using alias groups in remote commands · Issue #5334 · wp-cli/wp-cli · GitHub
[go: up one dir, main page]

Skip to content

SSH error when using alias groups in remote commands #5334

@PieterT2000

Description

@PieterT2000

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```

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0