• RESUME
  • LOGIN

balanced scale media

  • blog
  • projects
  • services
  • contact
Home › Blogs › boz's blog

Remote Drush

boz — Thu, 08/19/2010 - 22:36

I finally sat down to understand a recent post by lullabot on Drush 3 remote capabilities. Its taken me a couple of hours to set up, but this will save me hours in drupal updates. Thank you drush project! My hangs were on setting up the ssh key, which I omitted at first and then realized that it was a requirement for drush. The second hangup I had was to make sure my *.aliases.drushrc.php files were wrapped in <?php ?> tags. Hopefully that helps some one else. Here's an example of one of the connections I set up with my remote host.
$aliases['mysite.com'] = array(
  'uri' => 'mysite.com',
  'root' => '/path/to/drupal',
  'remote-host' => 'myhost.com',
  'remote-user' => 'ssh_username',
  'path-aliases' => array(
    '%drush' => '/path/to/drush/folder/on/server', // ~/drush
    '%drush-script' => '/path/to/drush/script/on/folder',  //~/drush/drush
  ), 
);
  • Drupal
  • boz's blog
  • Add new comment

Recent Posts

  • Generate Word Documents With PHP
  • Delete CCK Inactive Fields
  • Delete Nodes From A Certain Date in Drupal
  • Automated Node Titles Without Auto Node Title
  • Drupal Camp Iowa Ajax Example
  • Get Paid To Learn Drupal!
  • Presenting "JavaScript Guidelines : When and When Not to Script"
  • Drupal Form Alter on a Node Reference Widget
  • The Paradox Of Drupal
  • Programmatically Creating Users in Drupal with Profile Fields
more

Topics

  • Android
  • Apace
  • Aptana
  • Bazaar
  • Browser
  • Code
  • Drupal
  • Eclipse
  • Flex
  • HTML 5

Archive

  • February 2008 (1)
  • May 2008 (1)
  • July 2008 (3)
  • December 2008 (2)
  • January 2009 (2)
  • March 2009 (3)
  • April 2009 (5)
  • May 2009 (1)
  • July 2009 (1)
  • August 2009 (3)
more

Links

 

  • blog
  • projects
  • services
  • contact

© 2012 Balanced Scale Media, LLC. All Rights Reserved.