Help for this page

Select Code to Download


  1. or download this
    use Net::SSH::Perl
    print "What username?\n";
    ...
    $ssh->login($username, $password);
    my ($stdout, $stderr, $exit) = $ssh->cmd($cmd);
    print $stdout
    
  2. or download this
    #1 RSA authentication failed:  Can't load public key. #2 
    Warning: ignoring packet of type 15.