Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Solaris 11 ssh ControlMaster support?

eli101Aug 27 2013 — edited Sep 30 2013

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

#!/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

ssh: illegal option -- M

Usage: ssh [options] host [command]

Options:

Thnaks,

Eli

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2013
Added on Aug 27 2013
2 comments
569 views