Using drush rsync with passwords

Events happening in the community are now at Drupal community events on www.drupal.org.
pmackay's picture

Is there any mechanism to use drush with a hosting service that does not support the use of public key authentication?

thanks

paul

Comments

In your

greg.1.anderson's picture

In your drushrc.php:

$options['ssh-options'] = " -o PasswordAuthentication=no"

Check examples/example.drushrc.php in your drush folder to see if I typed that right.

The better answer is to switch to a better hosting provider. See drush.ws/Resources for a list of ISPs who pre-install drush.

I get the point about

pmackay's picture

I get the point about changing provider, but if I am to use the current one, they dont support key authentication at all. So setting an option to not use password wouldnt work.

Can drush be configured to actually use password authentication?

Sorry, that was I typo -- I

greg.1.anderson's picture

Sorry, that was I typo -- I put in the default value. Change it to YES and it will work.

drush

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: