Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      $ssh->close();
    }
    close(LOG);
    
  2. or download this
    $ssh = Net::SSH::Perl->new($host);
    $ssh->login($login,$passwd) || myAuditLog(LOG,"Login has failed. $!");