-->

Drush define the Alias for connect to webmin host

2019-08-17 19:31发布

问题:

I have a local Drupal project and as well an online project on the Webmin host. I try to create an alias for the online project but I can't go ahead. my self.site.yml

# Edit or remove this file as needed.
# Docs at https://github.com/drush-ops/drush/blob/master/examples/example.site.yml

prod:
#  host: prod.domain.com
#  user: www-admin
 root: C:\wamp64\www\ecc2
 uri: http://localhost:81/ecc2
#

dev:
 host: onlinehost.net
 user: sshUsername
 root: /home/dev.ecc.new/public_html
 uri: http://dev.ecc-new.onlinehost.net

I faced with this error

Karimi@Karimi /c/wamp64/www/ecc2 $ drush @self.dev status

In Process.php line 1032:

TTY mode is not supported on Windows platform.