? includes/table.inc
Index: example.drushrc.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/example.drushrc.php,v
retrieving revision 1.21
diff -u -p -r1.21 example.drushrc.php
--- example.drushrc.php	30 Dec 2009 21:26:44 -0000	1.21
+++ example.drushrc.php	31 Dec 2009 13:55:58 -0000
@@ -44,6 +44,8 @@
 // Enable verbose mode.
 # $options['v'] = 1;
 
+// 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
Index: includes/backend.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/backend.inc,v
retrieving revision 1.23
diff -u -p -r1.23 backend.inc
--- includes/backend.inc	13 Dec 2009 14:05:45 -0000	1.23
+++ includes/backend.inc	31 Dec 2009 13:55:59 -0000
@@ -360,7 +360,8 @@ function _drush_backend_generate_command
 
   if (!is_null($hostname)) {
     $username = (!is_null($username)) ? $username : get_current_user();
-    $cmd = sprintf("ssh -o PasswordAuthentication=no %s@%s %s", escapeshellarg($username), escapeshellarg($hostname), escapeshellarg($cmd));
+    $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));
   }
 
   return $cmd;
Index: includes/drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/drush.inc,v
retrieving revision 1.66
diff -u -p -r1.66 drush.inc
--- includes/drush.inc	31 Dec 2009 03:55:27 -0000	1.66
+++ includes/drush.inc	31 Dec 2009 13:55:59 -0000
@@ -329,6 +329,7 @@ function drush_get_option_help() {
   $options['--nocolor']                = dt("Suppress color highlighting on log messages.");
   $options['-h, --help']               = dt("This help system.");
   $options['--php']                    = dt("The absolute path to your PHP intepreter, if not 'php' in the path.");
+  $options['--ssh-options']            = dt("Options to pass to ssh in backend invoke. Default is '-o PasswordAuthentication=no'.");
   return $options;
 }
 
