Drupal working great on local server and remote server. But, the local drush can't connect to the remote server.

drupal @remote status
yields

Undefined offset:  1 backend.inc:112                                         [notice]
Undefined variable: output backend.inc:119                                   [notice]
The command could not be executed successfully (returned: Permission deniet (publickey, password).
, code: 127)

The normal solution, it seems, it to 'push_keys' to the remote server (per http://drupal.org/node/777252)

But, my remote server doesn't allow user-configured ssh public keys.
Is there some other way to setup the connection?

If it matters, we're using OpenSSH on Windows (not that I approve of Window-usage in general)

Comments

moshe weitzman’s picture

Status: Active » Fixed

you can to set the option --ssh-options on your command. That might let password prompting proceed. untested. this is an undocumented option as we have no good place to document it. see _drush_backend_generate_command()

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.