new openssh wants the =
authorivan <ivan>
Wed, 19 Sep 2001 18:27:45 +0000 (18:27 +0000)
committerivan <ivan>
Wed, 19 Sep 2001 18:27:45 +0000 (18:27 +0000)
SSH.pm

diff --git a/SSH.pm b/SSH.pm
index 2c50547..6c4291f 100644 (file)
--- a/SSH.pm
+++ b/SSH.pm
@@ -76,7 +76,7 @@ Connects the supplied filehandles to the ssh process (in batch mode).
 
 sub sshopen2 {
   my($host, $reader, $writer, @command) = @_;
-  open2($reader, $writer, $ssh, '-o', 'Batchmode yes', $host, @command);
+  open2($reader, $writer, $ssh, '-o', 'Batchmode=yes', $host, @command);
 }
 
 =item sshopen3 HOST, WRITER, READER, ERROR, COMMAND [, ARGS ... ]