Solaris 11 ssh multiplexing/ControlMaster support?
I am trying to run use "net::openssh" perl script, which is using ssh multiplexing i.e. ControlMaster, and I am getting an error illegal option -- M..., is there any way to turn on multiplexing on Solaris 11 in the ssh client, or we are forcd to compile from source?
perl script used is below
#!/bin/perl -w
use Net::OpenSSH;
my $ssh = Net::OpenSSH->new(
 host,
 ssh_cmd => '/bin/ssh',
 timeout => 10,
 user => user,
 password => passwd
);
my @cmd = (ls => '-a');
$ssh->system(@cmd);
The script returns the errors below.
--------------------------
/bin/ssh: illegal option -- M
/bin/ssh: illegal option -- S
perl script used is below
#!/bin/perl -w
use Net::OpenSSH;
my $ssh = Net::OpenSSH->new(
 host,
 ssh_cmd => '/bin/ssh',
 timeout => 10,
 user => user,
 password => passwd
);
my @cmd = (ls => '-a');
$ssh->system(@cmd);
The script returns the errors below.
--------------------------
/bin/ssh: illegal option -- M
/bin/ssh: illegal option -- S
0