Subject: | Can not specify SSH client arguments |
fix:
usage example:
=========================
my @options = ( '-o', 'BatchMode=yes',
'-o', 'StrictHostKeyCheckin=no',
'-o', 'PasswordAuthentication=no');
sshopen3("root\@$HOST", *WRITER, *READER, *ERROR, "$command", @options);
=========================
Diff:
================
1c1
< package Net::SSH;
---
Show quoted text
> #package Net::SSH;
158c158
< =item sshopen2 [USER@]HOST, READER, WRITER, COMMAND [, ARGS ... ]
---
Show quoted text> =item sshopen2 [USER@]HOST, READER, WRITER, COMMAND, [@SSH_OPTIONS]
165c165
< my($host, $reader, $writer, @command) = @_;
---
Show quoted text> my($host, $reader, $writer, @command, @ssh_options) = @_;
170c170
< =item sshopen3 HOST, WRITER, READER, ERROR, COMMAND [, ARGS ... ]
---
Show quoted text> =item sshopen3 HOST, WRITER, READER, ERROR, COMMAND, [@SSH_OPTIONS]
177c177
< my($host, $writer, $reader, $error, @command) = @_;
---
Show quoted text> my($host, $writer, $reader, $error, @command, @ssh_options) = @_;
================