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

[Console] Cannot connect to Pantheon remote site and run Drupal Console commands #3997

Closed
ryanprager opened this issue Jan 31, 2019 · 1 comment

Comments

@ryanprager
Copy link

Problem/Motivation

I'm unable to connect to a remote Pantheon site to run Drupal Console commands.

How to reproduce

Locally, I've setup a file called ssh.yml in console/sites that has the following parameters (certain identifiable items have been replaced be #####:

dev:
  root: /srv/bindings/#####/code/web
  host: appserver.dev.#####.drush.in
  user: dev.#####
  type: ssh
  port: 2222
  extra-options: '-o "AddressFamily inet"'

When I run this command:
drupal @ssh.dev

I get this output:
PTY allocation request failed on channel 0

I can run Drush commands against this and other Pantheon sites without a problem.

Is my ssh.yml file setup correctly for Pantheon or is there something else going on?

Details:

  • Drupal version: 8.6.5
  • Console version: 1.8.0
  • Console Launcher version: 1,8.0
  • Local OS: Windows 10
  • Running commands with Git Bash for Windows

Any help is greatly appreciated. Thanks!

@enzolutions
Copy link
Contributor

Thanks for the report @ryanprager, was fixed on hechoendrupal/drupal-console-core#349 and will be included in release 1.9.0

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

2 participants