projects
/
Net-SSH.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8b6b796
)
catch all the BatchMode s/ /=/
author
ivan
<ivan>
Wed, 19 Sep 2001 18:34:00 +0000
(18:34 +0000)
committer
ivan
<ivan>
Wed, 19 Sep 2001 18:34:00 +0000
(18:34 +0000)
SSH.pm
patch
|
blob
|
history
diff --git
a/SSH.pm
b/SSH.pm
index
6c4291f
..
8acd909
100644
(file)
--- a/
SSH.pm
+++ b/
SSH.pm
@@
-46,7
+46,7
@@
Calls ssh in batch mode.
sub ssh {
my($host, @command) = @_;
sub ssh {
my($host, @command) = @_;
- my @cmd = ($ssh, '-o', 'BatchMode
yes', $host, @command);
+ my @cmd = ($ssh, '-o', 'BatchMode
=
yes', $host, @command);
warn "[Net::SSH::ssh] executing ". join(' ', @cmd). "\n"
if $DEBUG;
system(@cmd);
warn "[Net::SSH::ssh] executing ". join(' ', @cmd). "\n"
if $DEBUG;
system(@cmd);
@@
-76,7
+76,7
@@
Connects the supplied filehandles to the ssh process (in batch mode).
sub sshopen2 {
my($host, $reader, $writer, @command) = @_;
sub sshopen2 {
my($host, $reader, $writer, @command) = @_;
- open2($reader, $writer, $ssh, '-o', 'Batch
m
ode=yes', $host, @command);
+ open2($reader, $writer, $ssh, '-o', 'Batch
M
ode=yes', $host, @command);
}
=item sshopen3 HOST, WRITER, READER, ERROR, COMMAND [, ARGS ... ]
}
=item sshopen3 HOST, WRITER, READER, ERROR, COMMAND [, ARGS ... ]
@@
-87,7
+87,7
@@
Connects the supplied filehandles to the ssh process (in batch mode).
sub sshopen3 {
my($host, $writer, $reader, $error, @command) = @_;
sub sshopen3 {
my($host, $writer, $reader, $error, @command) = @_;
- open3($writer, $reader, $error, $ssh, '-o', 'Batch
mode
yes', $host, @command);
+ open3($writer, $reader, $error, $ssh, '-o', 'Batch
Mode=
yes', $host, @command);
}
sub _yesno {
}
sub _yesno {