Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Running script :
my $ssh = Net::OpenSSH->new("ip-address", user => $user, password => $ +password, timeout => 3600, master_opts => [-o => "StrictHostKeyChecking=no"], ctl_dir => $E +NV{HOME});
Getting Error:
command-line: line 0: Bad configuration option: ServerAliveInterval Unable to connect to remote host: unable to establish master SSH conne +ction: bad password or master process exited unexpectedly at t1.pl li +ne 33.
  • Comment on getting error: command-line: line 0: Bad configuration option: ServerAliveInterval Unable to connect to remote host: unable to establish master SSH connection: bad password or master process exited unexpectedly at t1.pl line 33.
  • Select or Download Code

Replies are listed 'Best First'.
Re: getting error: ...etc...
by LanX (Saint) on Aug 15, 2014 at 13:25 UTC
Re: E_TITLE_TOO_LONG
by Anonymous Monk on Aug 15, 2014 at 14:27 UTC

    This sounds like one of those problems where I get called over, read the error message aloud, and then with no further ado, the person who called me over says "Oh! I know what to do now, thanks!"

    So, here we go:

    ...Bad configuration option: "ServerAliveInterval"...
    ...unable to establish master SSH connection: Bad Password...
      > This sounds like one of those problems where I get called over, read the error message aloud ...

      Louder! :)

      Cheers Rolf

      (addicted to the Perl Programming Language and ☆☆☆☆ :)