Help for this page

Select Code to Download


  1. or download this
     
            my $ssh2 = Net::SSH2->new();
    
    ...
            $chan2->ext_data('merge');
            $ssh2->auth(username => $rusr,password=>$rpwd);
    
  2. or download this
    
            print $chan2 "su $user2 \n";
            print $chan2 "$pass2 \n";