Oracle Solaris System Administration (MOSC)

MOSC Banner

Solaris 11 ssh multiplexing/ControlMaster support?

edited Sep 9, 2013 3:45AM in Oracle Solaris System Administration (MOSC) 6 commentsAnswered
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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center