Help for this page

Select Code to Download


  1. or download this
    use Net::OpenSSH::Compat::Perl qw(:supplant);
    use Net::SSH::Perl;
    my $ssh = Net::SSH::Perl->new ('nogaro', options => [  "ssh_cmd /opt/c
    +sw/bin/ssh"
    ,"debug yes", "interactive yes" ]);
    $ssh->login('root', 'no$go^');
    my ($out, $stderr, $exit) = $ssh->cmd ("date");
    
  2. or download this
    Invalid or bad combination of options ('batch_mode') at /opt/csw/share
    +/perl/site_perl/Net/OpenSSH/Compat/Perl.pm line 120