? includes/table.inc
Index: README.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/README.txt,v
retrieving revision 1.32
diff -u -p -r1.32 README.txt
--- README.txt	7 Jan 2010 22:01:28 -0000	1.32
+++ README.txt	16 Jan 2010 05:31:21 -0000
@@ -109,6 +109,24 @@ You can put your drush command file in a
 In any case, it is important that you append it with ".drush.inc", so
 that drush can find it.
 
+REMOTE COMMANDS
+---------------
+Drush supports remote execution of commands on other machines, and
+also provides convenient functions for syncronizing file systems
+and sql databases (via 'drush rsync' and 'drush sql-sync', respectively).
+
+To execute a remote command:
+
+  $ drush user@remote.host.com/path/to/drupal#example.com status
+  
+The above will execute the status command on the drush site
+example.com (sites/example.com/settings.php) at the specified 
+root folder on the machine "remote.host.com".  To make a shorter
+name for a remote instance of drush, you may define a site alias.
+See example.drushrc.php for details.
+
+
+
 REQUIREMENTS
 ------------
 * To use drush from the command line, you'll need a CLI-mode capable PHP
Index: example.drushrc.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/example.drushrc.php,v
retrieving revision 1.26
diff -u -p -r1.26 example.drushrc.php
--- example.drushrc.php	15 Jan 2010 01:13:24 -0000	1.26
+++ example.drushrc.php	16 Jan 2010 05:31:21 -0000
@@ -57,9 +57,6 @@
 // in your php configuration file.  See 'drush status' for the path to your php.ini file.
 # $options['php-notices'] = 'warning';
 
-// Specify options to pass to ssh in backend invoke. (Default is to prohibit password authentication; uncomment to change)
-# $options['ssh-options'] = '-o PasswordAuthentication=no';
-
 /*
  * Customize this associative array with your own tables. This is the
  * list of tables that are entirely omitted by the 'sql-dump' and 'sql-sync'
@@ -172,6 +169,21 @@ $options['structure-tables'] = array(
  *     '!files': Path to 'files' directory.
  *
  * Remove the leading hash signs to enable.
+ *
+ * When executing commands or rsyncing on remote machines, drush
+ * will use ssh as the transport mechanism.  It is recommended that
+ * you configure an ssh configuration file in $HOME/.ssh/config
+ * to specify security settings, port configuration for different
+ * hosts, and so on.
+ *
+ * For example, it is recommended to prohibit password authentication
+ * as shown below:
+ *
+ *   PasswordAuthentication=no
+ *
+ * For more details on ssh configuration, see:
+ *
+ *   http://linux.die.net/man/5/ssh_config
  */
 #$options['site-aliases']['stage'] = array(
 #    'uri' => 'stage.mydrupalsite.com',
Index: includes/backend.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/backend.inc,v
retrieving revision 1.24
diff -u -p -r1.24 backend.inc
--- includes/backend.inc	8 Jan 2010 01:11:59 -0000	1.24
+++ includes/backend.inc	16 Jan 2010 05:31:22 -0000
@@ -360,8 +360,8 @@ function _drush_backend_generate_command
 
   if (!is_null($hostname)) {
     $username = (!is_null($username)) ? $username : get_current_user();
-    $ssh_options = drush_get_option('ssh-options', "-o PasswordAuthentication=no");
-    $cmd = sprintf("ssh %s %s@%s %s", $ssh_options, escapeshellarg($username), escapeshellarg($hostname), escapeshellarg($cmd));
+    // ssh options should be set in $HOME/.ssh/config
+    $cmd = sprintf("ssh %s@%s %s", escapeshellarg($username), escapeshellarg($hostname), escapeshellarg($cmd));
   }
 
   return $cmd;
