Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    my $ssh = Net::OpenSSH->new("MY SERVER_IP",%opts,master_opts => [-i =>
    + "MY KEY FILE"], async => 1);
    $ssh->system("/root/test.sh") or    
        die "remote command failed: " . $ssh->error;
    
  2. or download this
    [Fri Jun 27 12:11:57 2014] [error] [client localhost] Permission denie
    +d (publickey,gssapi-keyex,gssapi-with-mic).\r, referer: http://localh
    +ost/cgi-bin1/test.cgi